For every question, there's an answer -- and you'll find it here!


Printer-friendly copy
Top The PC Q&A Forum The Computer Forum topic #402103
View in linear mode

Subject: "XPpro how long has my system been running" Previous topic | Next topic
martiFri Mar-03-06 01:48 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
"XPpro how long has my system been running"


  

          

I have tried systeminfo, systeminfo.exe, system up time, and systemuptime.

I have tried seaching using Google, which is how I found the above.

marti

  

Alert Printer-friendly copy | | Top

Replies to this topic
Subject Author Message Date ID
RE: XPpro how long has my system been running
Mar 03rd 2006
1
RE: XPpro how long has my system been running
Mar 03rd 2006
2
      RE: XPpro how long has my system been running
Mar 03rd 2006
3
           RE: XPpro how long has my system been running
Mar 03rd 2006
4
           RE: XPpro how long has my system been running
Mar 04th 2006
30
           RE: XPpro how long has my system been running
Mar 04th 2006
32
                RE: XPpro how long has my system been running
Mar 04th 2006
33
                     RE: XPpro how long has my system been running
Mar 04th 2006
53
                          RE: XPpro how long has my system been running
Mar 04th 2006
54
           RE: XPpro how long has my system been running
Mar 04th 2006
45
                RE: XPpro how long has my system been running
Mar 04th 2006
46
                RE: XPpro how long has my system been running
Mar 04th 2006
47
                RE: XPpro how long has my system been running
Mar 04th 2006
48
                RE: XPpro how long has my system been running
Mar 04th 2006
49
           RE: XPpro how long has my system been running
Mar 03rd 2006
5
                RE: XPpro how long has my system been running
Mar 03rd 2006
6
RE: XPpro how long has my system been running
Mar 03rd 2006
7
RE: XPpro how long has my system been running
Mar 03rd 2006
8
RE: XPpro how long has my system been running
Mar 03rd 2006
10
RE: XPpro how long has my system been running
Mar 04th 2006
38
      RE: XPpro how long has my system been running
Mar 04th 2006
42
RE: XPpro how long has my system been running
Mar 03rd 2006
9
RE: XPpro how long has my system been running
Mar 03rd 2006
11
RE: XPpro how long has my system been running
Mar 03rd 2006
12
      RE: XPpro how long has my system been running
Mar 04th 2006
13
           RE: XPpro how long has my system been running
Mar 04th 2006
14
                RE: XPpro how long has my system been running
Mar 04th 2006
15
                RE: XPpro how long has my system been running
Mar 04th 2006
16
                RE: XPpro how long has my system been running
Mar 04th 2006
20
                RE: XPpro how long has my system been running
Mar 04th 2006
21
                     RE: XPpro how long has my system been running
Mar 04th 2006
23
                          RE: XPpro how long has my system been running
Mar 04th 2006
24
                               RE: XPpro how long has my system been running
Mar 04th 2006
25
                                    RE: XPpro how long has my system been running
Mar 04th 2006
40
                RE: XPpro how long has my system been running
Mar 04th 2006
27
                RE: XPpro how long has my system been running
Mar 04th 2006
17
                RE: XPpro how long has my system been running
Mar 04th 2006
18
                     RE: XPpro how long has my system been running
Mar 04th 2006
19
                     RE: XPpro how long has my system been running
Mar 04th 2006
22
                     RE: XPpro how long has my system been running
Mar 04th 2006
28
                          RE: XPpro how long has my system been running
Mar 04th 2006
29
                               RE: XPpro how long has my system been running
Mar 04th 2006
44
                RE: XPpro how long has my system been running
Mar 04th 2006
26
                     RE: XPpro how long has my system been running
Mar 04th 2006
31
                          RE: XPpro how long has my system been running
Mar 04th 2006
35
                          RE: XPpro how long has my system been running
Mar 04th 2006
37
                               RE: XPpro how long has my system been running
Mar 04th 2006
39
                               RE: XPpro how long has my system been running
Mar 04th 2006
43
                               RE: XPpro how long has my system been running
Mar 04th 2006
50
                                    RE: XPpro how long has my system been running
Mar 04th 2006
52
                                         RE: XPpro how long has my system been running
Mar 05th 2006
55
RE: XPpro how long has my system been running
Mar 04th 2006
34
RE: XPpro how long has my system been running
Mar 04th 2006
36
      RE: XPpro how long has my system been running
Mar 04th 2006
41
RE: XPpro how long has my system been running
Mar 04th 2006
51

SteveYandlFri Mar-03-06 02:01 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#1. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)


          

Marti,

Open Notepad and paste what I've got below the dotted line. Save the file with a vbs extension (not the txt default Notepad wants to save it with). Something like XPuptime.vbs. This will give you the time the system has been running in minutes.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * From Win32_PerfFormattedData_PerfOS_System")

For Each objOS in colOperatingSystems
intSystemUptime = Int(objOS.SystemUpTime / 60)
Wscript.Echo intSystemUptime & " minutes"
Next

  

Alert Printer-friendly copy | | Top

    
martiFri Mar-03-06 02:04 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#2. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 1)


  

          

Thanks, Steve. Where do I run this? Also, where is the file to be stored?

marti

  

Alert Printer-friendly copy | | Top

        
SteveYandlFri Mar-03-06 02:13 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#3. "RE: XPpro how long has my system been running"
In response to marti (Reply # 2)


          

You can run it from anywhere. I keep a subfolder in MyDocuments for most of my scripts and make shortcuts to them in QuickLaunch if I expect to use it frequently. It runs quickly and simply sends you a message box with the system up time.

  

Alert Printer-friendly copy | | Top

            
martiFri Mar-03-06 02:21 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#4. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 3)


  

          

It works. Nice little script file! Thanks Steve.

marti

  

Alert Printer-friendly copy | | Top

                
suatciniSat Mar-04-06 05:31 AM
Member since Feb 12th 2003
488 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy listClick to send message via AOL IMClick to send message via ICQ
#30. "RE: XPpro how long has my system been running"
In response to marti (Reply # 4)


          

Hello.

This same script returns an error message in my system.

Regards

suatcini

  

Alert Printer-friendly copy | | Top

                    
PriscillaSat Mar-04-06 01:26 PM
Charter member
475 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#32. "RE: XPpro how long has my system been running"
In response to suatcini (Reply # 30)


          

I get an error with mine also - it errors out at the word "For".

Priscilla L.


Attachment #1, (jpg file)

  

Alert Printer-friendly copy | | Top

                        
SteveYandlSat Mar-04-06 02:29 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#33. "RE: XPpro how long has my system been running"
In response to Priscilla (Reply # 32)


          

Did you copy and paste the whole block of text in one move?

That error, 0x80041010, is typically a spelling problem. The reference is to character 1 in the line because none of the line can execute. It usually happens because an object is created using the word "Set" and later when the object is referenced you forget to type the entire name or otherwise type an error. For example, if you have:
For Each objOS in colOperatingSystem
instead of
For Each objOS in colOperatingSystems
you get the error.

  

Alert Printer-friendly copy | | Top

                            
PriscillaSat Mar-04-06 08:51 PM
Charter member
475 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#53. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 33)


          

I copied and pasted in one swoop.

I dunno what the problem is.

Priscilla L.

  

Alert Printer-friendly copy | | Top

                                
SteveYandlSat Mar-04-06 09:06 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#54. "RE: XPpro how long has my system been running"
In response to Priscilla (Reply # 53)


          

You can right click and choose Edit to review but I can't imagine how you would lose any text other than the first characters or last. I tested my copy by dropping the first letter of line one and got a different error message so it isn't that.

  

Alert Printer-friendly copy | | Top

                
SteveYandlSat Mar-04-06 06:07 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#45. "RE: XPpro how long has my system been running"
In response to marti (Reply # 4)


          

Marti,

Below is an improved version of the script you might find amusing.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

strComputer = "."
strIntro = "Computer has been on for"

Set objVoice = CreateObject("SAPI.SpVoice")

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * From Win32_PerfFormattedData_PerfOS_System")

For Each objOS in colOperatingSystems
intSystemUptime = Int(objOS.SystemUpTime / 60)
Next

strHours = Int(intSystemUptime / 60)
strMins = intSystemUptime Mod 60
objVoice.Speak strIntro & strHours & " hours and " & strMins & " minutes"

  

Alert Printer-friendly copy | | Top

                    
LilJoeSat Mar-04-06 06:13 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#46. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 45)


  

          

:lol:

LilJoe

  

Alert Printer-friendly copy | | Top

                    
martiSat Mar-04-06 06:17 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#47. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 45)


  

          

Steve,

In reading your script I see it has "sounds." My speakers have been in the closet for around three years now.

marti

  

Alert Printer-friendly copy | | Top

                        
LilJoeSat Mar-04-06 06:43 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#48. "RE: XPpro how long has my system been running"
In response to marti (Reply # 47)


  

          

It's time to come out of the closet

LilJoe

  

Alert Printer-friendly copy | | Top

                    
JaneSat Mar-04-06 06:48 PM
Member since Dec 17th 2001
3927 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#49. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 45)


  

          

thank you !

Jane

  

Alert Printer-friendly copy | | Top

            
GauthreauFri Mar-03-06 02:56 PM
Member since Feb 02nd 2002
981 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#5. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 3)


  

          

That is pretty neat. Now if only you could write a script that could catch all the mice I have running around here right now...

Neil

============================================


In the computer world, there’s a right way, a wrong way, and the Mac way. The Mac way is essentially the same as the wrong way, except it’s much faster and on a much larger scale.

  

Alert Printer-friendly copy | | Top

                
KJTFri Mar-03-06 03:12 PM
Charter member
15901 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#6. "RE: XPpro how long has my system been running"
In response to Gauthreau (Reply # 5)


  

          

What you need is a Script Kitty

Jim.

  

Alert Printer-friendly copy | | Top

LilJoeFri Mar-03-06 03:32 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#7. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)


  

          

OPen Everest and under Operating System open UPTIME,it will tell you first boot and a lot of info

LilJoe

  

Alert Printer-friendly copy | | Top

    
martiFri Mar-03-06 03:33 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#8. "RE: XPpro how long has my system been running"
In response to LilJoe (Reply # 7)


  

          

>OPen Everest and under Operating System open UPTIME,it will
>tell you first boot and a lot of info

I don't have Everest installed yet.

marti

  

Alert Printer-friendly copy | | Top

        
LilJoeFri Mar-03-06 04:51 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#10. "RE: XPpro how long has my system been running"
In response to marti (Reply # 8)


  

          

It will look like this:




LilJoe

Alert Printer-friendly copy | | Top

    
jadedSat Mar-04-06 03:37 PM
Charter member
1572 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#38. "RE: XPpro how long has my system been running"
In response to LilJoe (Reply # 7)


          

Interesting, LilJoe, but where do you get this Everest? Thanks

jaded

  

Alert Printer-friendly copy | | Top

        
LilJoeSat Mar-04-06 04:56 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#42. "RE: XPpro how long has my system been running"
In response to jaded (Reply # 38)


  

          

>Interesting, LilJoe, but where do you get this Everest?
>Thanks
>
>>MS]jaded
------------------------------------------------------
Google will take you there

LilJoe

  

Alert Printer-friendly copy | | Top

therubeFri Mar-03-06 04:09 PM
Member since Jan 22nd 2003
16604 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#9. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)
Fri Mar-03-06 04:14 PM by therube

  

          

Couple other methods I came across:

C:\> net statistics server (or workstation)
At the head of the report, is displays, "Statistics since 3/2/2006 7:30 AM".


Or, click your network icon in the system tray, General -> Duration: 1 day 4:39:01 (and counting ...).


Would have though Everest would have had it, but didn't see it.
Other types of those utilities may.

Ok, there it is, LilJoe found it in Everest.

  

Alert Printer-friendly copy | | Top

JPFri Mar-03-06 09:50 PM
Charter member
9570 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#11. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)


          

There is a built in function in Windows XP that will reveal when the last system boot time was.

From the System Information Tool, click on Tools/Net Diagnostics and then have it scan your system. Once the scan is done, expand the Operating System item in the menu and then scroll down to LastBootUpTime to see when that event occured.

Now that you have been introduced to this tool, look around to see what other interesting info you can gleen from it.

Many computer utility programs make use of stuff that already exists with Windows, like Steve's script, but Windows may not be so elegant in how you access what you're after.

  

Alert Printer-friendly copy | | Top

    
martiFri Mar-03-06 09:54 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#12. "RE: XPpro how long has my system been running"
In response to JP (Reply # 11)


  

          

Thanks JP, but I have no idea where to look for that! I'm running XPpro. My biggest problem with XP is finding things.

marti

  

Alert Printer-friendly copy | | Top

        
dubberSat Mar-04-06 01:02 AM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#13. "RE: XPpro how long has my system been running"
In response to marti (Reply # 12)


  

          

Marti,

To find uptime in Windows XP Pro:

Click Start, go to All Programs, go to Accessories, click on Command Prompt, type "systeminfo" (without quotes), press Enter key, and read the uptime, as below:

  

Alert Printer-friendly copy | | Top

            
martiSat Mar-04-06 01:08 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#14. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 13)


  

          

Hi Dubber,

That does not work. I see the black screen flash and that is all.

marti

  

Alert Printer-friendly copy | | Top

                
dubberSat Mar-04-06 01:16 AM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#15. "RE: XPpro how long has my system been running"
In response to marti (Reply # 14)
Sat Mar-04-06 01:44 AM by dubber

  

          

Well, shucks.

While we wait for someone who might know what to do about that problem, you could try Start, Run, type in "cmd" (without quotes), then click ok.

Edit:

I'm not sure if you meant that the black screen flashes when you first started the Command Prompt or when you hit enter to access the Systeminfo.

-------

You could also try Start, All Programs, Accessories, System Tools, System Information, Tools Tab, Net Diagnostics, Scan Your System, Operating System.

Now, before my computer would show the Last Bootup time, I had to enable all the options by clicking on Set Scanning Options, putting checks in all the squares, and clicking on Save Options.

Then it would show, as below:

  

Alert Printer-friendly copy | | Top

                    
martiSat Mar-04-06 01:22 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#16. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 15)


  

          

Dubber,

That worked. I typed in Systeminfo and it gave me the information.

marti

  

Alert Printer-friendly copy | | Top

                    
martiSat Mar-04-06 01:47 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#20. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 15)


  

          

Quote:

I'm not sure if you meant that the black screen flashes when you first started the Command Prompt or when you hit enter to access the Systeminfo.
Start >> Run >> type in systeminfo >> black screen flashed.


marti

  

Alert Printer-friendly copy | | Top

                        
dubberSat Mar-04-06 01:59 AM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#21. "RE: XPpro how long has my system been running"
In response to marti (Reply # 20)


  

          

Glad it works now.

By the way, there are a few Windows XP links here.

  

Alert Printer-friendly copy | | Top

                            
martiSat Mar-04-06 02:15 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#23. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 21)


  

          

Thanks Dubber. Those links will get me in more trouble.

marti

  

Alert Printer-friendly copy | | Top

                                
therubeSat Mar-04-06 03:03 AM
Member since Jan 22nd 2003
16604 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#24. "RE: XPpro how long has my system been running"
In response to marti (Reply # 23)


  

          

It flashed by cause you were not at a command prompt ( C:\> ).

  

Alert Printer-friendly copy | | Top

                                    
martiSat Mar-04-06 04:19 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#25. "RE: XPpro how long has my system been running"
In response to therube (Reply # 24)


  

          

>It flashed by cause you were not at a command prompt ( C:\>
>).
So how to get the DOS C prompt??

marti

  

Alert Printer-friendly copy | | Top

                                        
therubeSat Mar-04-06 04:41 PM
Member since Jan 22nd 2003
16604 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#40. "RE: XPpro how long has my system been running"
In response to marti (Reply # 25)


  

          

Start | Run | CMD

  

Alert Printer-friendly copy | | Top

                    
JPSat Mar-04-06 04:41 AM
Charter member
9570 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#27. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 15)


          

Thanks Dubber, that's what I outlined in my other post here.

  

Alert Printer-friendly copy | | Top

                
Hank52Sat Mar-04-06 01:26 AM
Member since Sep 24th 2002
3358 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#17. "RE: XPpro how long has my system been running"
In response to marti (Reply # 14)


  

          

Marti. Go up to where the Commad Prompt is on the Start Menu, and Righ-Click on it, and select > SEND TO Then click on > Desktop (Create Shortcut).

The same thing happends when I do what you do. Just a Flash of the Dos Box and it's gone.

BTW. When you Create the Shortcut to the Desktop, Right-Click on the Shortcut and you'll find a lot of Options to change the Color of the text among other things.

Ken:

  

Alert Printer-friendly copy | | Top

                    
martiSat Mar-04-06 01:31 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#18. "RE: XPpro how long has my system been running"
In response to Hank52 (Reply # 17)


  

          

Right click on "run" does nothing!

marti

  

Alert Printer-friendly copy | | Top

                        
Hank52Sat Mar-04-06 01:46 AM
Member since Sep 24th 2002
3358 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#19. "RE: XPpro how long has my system been running"
In response to marti (Reply # 18)
Sat Mar-04-06 01:57 AM by Hank52

  

          

What I meant was go to Start Menu, Programs, Acessories, Command Prompt and then Right-Click on that to Create a Shortcut if the Command Prompt wasn't working.

Actually my problem was just "Backwards from yours. When I typed in "cmd" in the run Box, the DOS Window would just "Flash on the Screen for a slit second and it would be gone, so I created a Shortcut instead, and it wordked.

The other Right-Click I was talking about was to Right-Click on the Shortcut if you made one, or you can Right-Click on the Border of the DOS Box and then select Properties and then you can change the size of the Font or the Color of the Text.

Sorry for the mixup.

Edit: This is what I meant by making a Shortcut to the Desktop.






Ken:

Attachment #1, (jpg file)

  

Alert Printer-friendly copy | | Top

                            
Hank52Sat Mar-04-06 02:02 AM
Member since Sep 24th 2002
3358 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#22. "RE: XPpro how long has my system been running"
In response to Hank52 (Reply # 19)


  

          

And this is what I meant by selecting Properties by Right-Clicking on the top Border to the DOS Box to change the text Color and Font Size.






Ken:

Attachment #1, (jpg file)

  

Alert Printer-friendly copy | | Top

                        
MaggieSat Mar-04-06 05:06 AM
Charter member
4345 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#28. "RE: XPpro how long has my system been running"
In response to marti (Reply # 18)
Sat Mar-04-06 05:06 AM by Maggie

  

          

Something else I always do is right click and go to the properties and change it to start in C:\ and then I download the Open Command Window This program saves a bunch of typing.
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

  

Alert Printer-friendly copy | | Top

                            
martiSat Mar-04-06 05:17 AM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#29. "RE: XPpro how long has my system been running"
In response to Maggie (Reply # 28)


  

          

Maggie,

I downloaded Tweakui last night. Most of it I don't understand! How to change cmd prompt, I have not idea.

marti

  

Alert Printer-friendly copy | | Top

                                
MaggieSat Mar-04-06 05:40 PM
Charter member
4345 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#44. "RE: XPpro how long has my system been running"
In response to marti (Reply # 29)


  

          

It is the shortcut for the command prompt that I rightclick annd add C:\ to start. TweakUI is fun also. Open Command Window is above Tweakui

  

Alert Printer-friendly copy | | Top

                
JPSat Mar-04-06 04:39 AM
Charter member
9570 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#26. "RE: XPpro how long has my system been running"
In response to marti (Reply # 14)


          

You need first to go to Start/Run and key in cmd which brings up the DOS window. If you don't, then the commands run and the window automatically closes when the run completes, and won't stay put to let you view the results

  

Alert Printer-friendly copy | | Top

                    
dubberSat Mar-04-06 06:27 AM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#31. "RE: XPpro how long has my system been running"
In response to JP (Reply # 26)


  

          

JP,

Just curious:

I wonder why "Click Start, go to All Programs, go to Accessories, click on Command Prompt, type "systeminfo" (without quotes), press Enter key, and read the uptime" worked for my computer when it didn't for Marti's?

Here it is done both ways on my computer:

  

Alert Printer-friendly copy | | Top

                        
JPSat Mar-04-06 03:01 PM
Charter member
9570 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#35. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 31)
Sat Mar-04-06 03:04 PM by JP

          

My understanding is that whe didn't do it either way that you show. I think what she did was click on Start/Run and then key in systeminfo. If the Command Prompt window (aka DOS window) isn't opened first and the command keyed inside that window, then it closes when the executable is finished. That is by design.

Try it. You should see it working and then close on you when it displays the results.

I run chkdsk /f straight from Start/Run because it closes as soon as I set it. Saves me a whole mouse click, or having to key in exit to close the window.

  

Alert Printer-friendly copy | | Top

                        
LilJoeSat Mar-04-06 03:33 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#37. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 31)
Sat Mar-04-06 03:34 PM by LilJoe

  

          

Dubber,maybe because she is running Home version and you are running Corp version.

LilJoe

  

Alert Printer-friendly copy | | Top

                            
martiSat Mar-04-06 03:56 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#39. "RE: XPpro how long has my system been running"
In response to LilJoe (Reply # 37)


  

          

Lou,

I'm running WinXPpro!

marti

  

Alert Printer-friendly copy | | Top

                                
LilJoeSat Mar-04-06 05:00 PM
Member since Jun 28th 2004
17111 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#43. "RE: XPpro how long has my system been running"
In response to marti (Reply # 39)


  

          

Yes but not the Corporate version like he is.

LilJoe

  

Alert Printer-friendly copy | | Top

                            
dubberSat Mar-04-06 07:30 PM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#50. "RE: XPpro how long has my system been running"
In response to LilJoe (Reply # 37)
Sat Mar-04-06 07:39 PM by dubber

  

          

Lil Joe,

Here it is on non-Corporate Win XP Home Edition:



Edit:

By the way, if you run DSL or some other full-time Internet connection, you can check your Local Area Connection Status (double-click the LAN icon) and get a pretty close estimate of your uptime, as below:

  

Alert Printer-friendly copy | | Top

                                
SteveYandlSat Mar-04-06 08:38 PM
Charter member
6481 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#52. "RE: XPpro how long has my system been running"
In response to dubber (Reply # 50)


          

There are two types of commands one can run in the console (dos type window). The first would be any of the commands that belong to the command interpreter, typically evolved versions of the old dos commands, such as "dir" and "copy". The second type would be the name of an executable or batch file where the file itself resides in one of the folders included in the system path.

There are a number of executable programs designed for console use that are present in XP Pro but not XP Home. In addition to "systeminfo", two that come to mind are "tasklist" and "taskkill".

If you want to use a single line to start one of these console type programs at either the Start | Run line or as a shortcut target, you should consider the "/k" switch for cmd.exe. For example:

cmd /k ipconfig

Used as a shortcut, this starts the command intepreter and runs ipconfig without multiple steps.

  

Alert Printer-friendly copy | | Top

                                    
dubberSun Mar-05-06 02:36 AM
Charter member
6960 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#55. "RE: XPpro how long has my system been running"
In response to SteveYandl (Reply # 52)


  

          

Thanks for the explanation, Steve.

  

Alert Printer-friendly copy | | Top

HowardLSat Mar-04-06 02:50 PM
Member since Dec 12th 2001
1447 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#34. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)


          

Microsoft has a tool to be run from the command line: uptime.exe

www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp

Works well.

  

Alert Printer-friendly copy | | Top

    
martiSat Mar-04-06 03:24 PM
Charter member
11338 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#36. "RE: XPpro how long has my system been running"
In response to HowardL (Reply # 34)


  

          

Uptime program doesn't say it works on XP. Please advise.

marti

  

Alert Printer-friendly copy | | Top

        
therubeSat Mar-04-06 04:48 PM
Member since Jan 22nd 2003
16604 posts
Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#41. "RE: XPpro how long has my system been running"
In response to marti (Reply # 36)


  

          

Works just fine.


Attachment #1, (jpg file)

  

Alert Printer-friendly copy | | Top

jadedSat Mar-04-06 08:16 PM
Charter member
1572 posts
Click to send email to this author Click to send private message to this authorClick to view this author's profileClick to add this author to your buddy list
#51. "RE: XPpro how long has my system been running"
In response to marti (Reply # 0)
Sat Mar-04-06 08:21 PM by jaded

          

marti, I am running XP Pro SP2 NTFS. I tried Steve Yandl's suggestion (reply #1), and it works great (thanks, Steve!). However, for my own personal use, it is of limited value, because I shut down my computer every night, and/or any time I leave the house. Anyway, you might find this little program helpful, at least as far as your hard drives are concerned. It gives their power on time, start/stop count, power cycle count, and a whole bunch of other stuff to help keep track of your hard drives' usage and health -- each drive, from their initial installation. Free, from http://www.passmark.com/products/index.htm.

(Name of the program is DiskCheckup.exe)

jaded

  

Alert Printer-friendly copy | | Top

Top The PC Q&A Forum The Computer Forum topic #402103 Previous topic | Next topic
Powered by DCForum+ Version 1.27
Copyright 1997-2003 DCScripts.com
Home
Links
About PCQandA
Link To Us
Support PCQandA
Privacy Policy
In Memoriam
Acceptable Use Policy

Have a question or problem regarding this forum? Check here for the answer.