PDA

View Full Version : Command Line


M Gravlee
06-20-2011, 10:21 PM
When you use this command line to open the processor as a job in Windows 7 does it open it as Administrator or do I need to add something?

ScreenshotProcessor.exe project_file.scp

Radu
06-21-2011, 11:36 AM
If you setup the task with Task Scheduler you have the option to specify the user that will run the task and also you will have the option to Run with highest privileges which is equivalent with Run as Administrator.

Radu

M Gravlee
07-04-2011, 04:58 PM
OK. Got that changed.

When I enter C:\Program Files\Screenshot Processor\ScreenshotProcessor.exe as the Program/script and topblogd.scp in the Add arguments(Optional) box in Windows 7 Task Scheduler it gives me this:

"C:\Program Files\Screenshot Processor\ScreenshotProcessor.exe" topblogd.scp

which starts the screen processor program but it doesn't pickup the topblogd.scp file which is in the same directory. I've tried editing the quotation marks and including the scp file but that doesn't work. Also tried without quotes. Works when I manually call it from the command line using the above example without the quotes.

I had this setup working with XP but HD crashed.

Any suggestions? :confused:

Radu
07-06-2011, 10:26 PM
You need to put the complete path to the scp file as parameter because that command doesn't execute in the folder context.

You should have: "C:\Program Files\Screenshot Processor\ScreenshotProcessor.exe" "C:\Program Files\Screenshot Processor\topblogd.scp"

Try this and let me know if it works.

Radu