Jump to content

Exe as service issue


Recommended Posts

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 ?

Link to comment
Share on other sites

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 ****

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...