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:
Code:
 <?php
    echo 'Uptime: ';
    print exec("c:/uptime.exe");
?>
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.

Last edited by HAMM3R; 11/08/05 08:04 PM.

-- HAMM3R (aka: alhammer)
http://www.HAMM3R.net