NET STOP only works if its running as a service. Otherwise you'll need the "kill" utility. It comes with the NT Resource Kit, which works on NT and 2000, I haven't tested it on XP, or anybody else.
you can give kill a pid, or an executable name, like > kill java.exe or whatever... Im not sure where to download it from... you might need to do some googling. Or your could write your own C++ code to do it... or find somebody who wrote an equivalent utility. -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > How do I end the process using exec? Is there an equivalent to NET STOP? > > - Noah -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php