Juvigy 49 Posted July 16, 2010 I have a compiled script with the following script: While 1 If ProcessExists("test1.exe") = 0 then ShellExecute("C:\Music\test1.exe") Sleep(2000) WEnd I installed it as a service using: sc create myservice binpath= c:\myfile.exe But i cant start the service - i get some error 1053 sc start testservice [SC] StartService FAILED 1053: The service did not respond to the start or control request in a timely fashion Any idea how to fix this ? Share this post Link to post Share on other sites
jfcby 3 Posted July 16, 2010 Check this link out...jfcby Determined -- Devoted -- Delivered Make your mind up -- to seriously apply yourself -- accomplishing the desired results. **** A soft answer turneth away wrath: but grievous words stir up anger. Proverbs 15:1 KJB **** Share this post Link to post Share on other sites
Juvigy 49 Posted July 19, 2010 I know that but it relies on Srvany.exe which i cant use. Share this post Link to post Share on other sites
Tec 3 Posted July 19, 2010 Check this _Service_ UDF / Run your exe as Service ! Updated Using pure WinAPi, no external program Share this post Link to post Share on other sites