(view source code of uptime.bat as plain text)
IF NOT ERRORLEVEL 1 GOTO Syntax
SRVINFO -ns \\%server% | FIND /I "System Up Time:"
ECHO Show how long a system has been up and running
ECHO Usage: %~n0 [ ^<server_name^> ]
ECHO Needs SRVINFO from the NT4 Server Resource Kit
|page last uploaded: 2015-12-04, 16:51|