uptime - 11/08/05 08:03 PM
Hello. I'd like to retrieve the uptime of my system using uptime.exe (a microsoft app). I can get the uptime with it using:
So how might i do the same with mirc? I know it involves the COM and dos prompt. Any idea? TIA!
Thanks,
Austin
EDIT: I know there are a million DLLs to do this, but for various reasons, i'd like to do it with uptme.exe if its possible.
Code:
<?php echo 'Uptime: '; print exec("c:/uptime.exe"); ?>
Thanks,
Austin
EDIT: I know there are a million DLLs to do this, but for various reasons, i'd like to do it with uptme.exe if its possible.