Nope - If you don't stop it, it may continue to run, and could hold files open, preventing the removal of the binaries.

Stop the service, then remove the service, then perform any cleanup of the service files.

BTW - XNET LIST \\server\service name will display the location of the service binary (executable).

My SvcCtl() UDF uses XNET to start/stop or enable/disable services. SvcList() will return all the services, or an array of a single service's detail.

Check the UDF forum, or download the latest copy from the Kix Development page on my web site. It's part of the library included in the Zip file.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D