you can do: `net start c:/netlist.txt` // back ticks
the resulting file is trivial to parse. HTH Ignatius ____________________________________________ ----- Original Message ----- From: "Alexander Kuznetsov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 3:39 PM Subject: [PHP-WIN] get service status on win32 from php > Hello All, > > Can I get list of services running on win32 machine via php script? > And if I can how I can do this or where I can read about it? > > -- > Best regards, > Alexander Kuznetsov > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php