Creating a Service

Convert your BATch files into EXEcutable format in one click.
bmanor
Posts: 1
Joined: Mon Oct 10, 2005 3:11 pm

Post by bmanor »

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

Code: Select all

notepad
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.
Oleg Tsheglov
Site Admin
Posts: 307
Joined: Fri Feb 13, 2004 5:55 pm

Post by Oleg Tsheglov »

What's QuickBFC version you have? I tested your example with v2.0.7.1 and it work.