» An ultimate catalog of computer data
Forum posts for srvany.exe
Windows srvany.exe and service STOP
I've read the many answers online on how to use SRVANY.exe to create a Windows service out of anything. My service is a batch file that sets up the environment (i need to set env vars and map drives) and then spawns my c++ app. But when i do a NET STOP, the srvany.exe process goes away, and my c++ app stays alive. Is there any way to have it killed when it receives the stop command? I'd need to be able to bounce it in case of any config file changes.
The reason i picked cmd shell is the easy drive mapping. In theory i can wrap it with either perl or python, whichever is easier to get this behavior, but then i'd need to shell out anyway to map the drives. Does this make sense?
View complete forum thread with replies
Other posts related to srvany.exe
See Related Forum Messages: Follow the Links Below to View Complete Thread
Windows srvany.exe and service STOP
Problems running python program with srvany.exe
srvany.exe does not start .bat file
Creating Service from Executable (INSTSRV.EXE and SRVANY.EXE) Error - 'Service started and t…
Specify command line for application while creating service using SRVANY.EXE
Searching for srvany.exe from Windows 7 Resource Kit: is this actual software or just a book?
Installing srvany.exe to run a jar file as a service using InstallShield (without editing th…