System uptime su Windows, in stile Linux
L'uptime, per com'è conosciuto dai viziati Linux, su Windows manca e se ne sente la mancanza.
I comandi net statistics server o systeminfo riportano solamente la data e ora dell'ultimo avvio.
Questo file VBS legge data e ora di avvio e restituisce il tempo trascorso:
Set objShell = WScript.CreateObject("WScript.Shell")
Set objExecObject = objShell.Exec("cmd /c net statistics server")
lineNum = 1
strText = ""
Do While Not objExecObject.
[...]
