Method 2 of that link. I compiled and have an exe. I want to schedule it as a Service. Per that article, I need to pass a paramter '/batch' to have it run as a service...
When I'm in debug, I add the command line argument to "Debug" tab of properties. When I want to schedule the exe...where do I need to put the command line argument?
are you creating your task manually in the Windows "Task Scheduler"? If so, you can add your argument to name of the exe.
or you can create a batch file with that argument and launch the batch in the task
Camillia
ASKER
I think I will use Windows Task Scheduler. I've never done this before tho. What do you mean adding it to the name of the exe? I know if I right click on the exe, select "properties", there's a "Target" field and I can add the paramter to end of it. Is this what you mean?
or you can create a batch file with that argument and launch the batch in the task