Hi Guys,
I am trying to run a batch file on startup. I want it to run in the background so I decided to make it a service by doing:
But when I try to run it I get the error "Error 1053: The service did not respond to the start or control request in a timely fashion".
Does anyone know what's going wrong here? Or, alternatively, can anyone suggest a different way to achieve what I've described?
I am trying to run a batch file on startup. I want it to run in the background so I decided to make it a service by doing:
Code:
sc.exe create "Service Name" binPath= "C:\Your Program.exe"
But when I try to run it I get the error "Error 1053: The service did not respond to the start or control request in a timely fashion".
Does anyone know what's going wrong here? Or, alternatively, can anyone suggest a different way to achieve what I've described?