Uptime on XP Pro

July 11th, 2005

Open notepad and generate the following batch file:

@echo.
@systeminfo | @find “System Up Time:”
@echo.

save it in your environment path (i.e. c:\windows\system32\)
as: uptime.bat

Then you can access that throught the following: Start > Run > cmd [enter] uptime
This only works for windows xp pro, for windows xp home users: search for uptime.exe from the microsoft website it will work just fine.

[Edit: A small point to mark out; if you’re copying and pasting that bit of code, replace the quotes with standard keyboard quotes, wordpress puts in some fancy ascii quotes that are ignored when running the batch file. ]


Comments are closed.