When I try to create a service that use an exe file I just converted using the Batch File Compiler, it will not start. Here is what I have tried:
Code: Select all
sc create notepad binpath= "c:\windows\system32\notepad.exe"
This works and starts with no problem but if I write a bat file and convert it that has
in it and then use the following code to create a service
Code: Select all
sc create notepad binpath= "C:\Docume~1\bwm5863\Desktop\not.exe"
it will not start.
Any help would be appreciated.