Specifying the running directory for Scheduled Tasks using schtasks.exe

Just wanted to add details that are valid for Windows Server 2008 and 2012. As many people can understand screen shots better here is a screen shot:
enter image description here

To sum it up. When you create the action for your scheduled task you have the option to set the “Start in (optional)” field (rounded in red on the screen shot). This will be the directory from where your process is triggered.

Leave a Comment