I have a scheduled task that calls a bat file, problem is it does this in c:\windows\system32 instead of the path it exists in (c:\bak), is there a setting that I can change to set it to run in the correct location?
Scheduled tasks running in %systemroot%\system32\
scheduled-taskwindows 7
Related Topic
- Scheduled Tasks GUI Issues – Troubleshooting on Windows
- Sql-server – SQL Server scheduled backup: sqlcmd.exe can’t connect
- How to rename a task in Task Scheduled on Windows Server 2008 R2
- Windows Server 2008 Scheduled Tasks not running – 0x80041323 – Reduce Number of tasks running in the specified context
- Scheduled Tasks and Environment Variables
- Windows 7 Scheduled Tasks – Fix System Cannot Find the File Specified (0x80070002)
Best Answer
Yes - in the "Edit Action" UI, fill out the Start In (Optional) field.
(If you aren't already, use the Task Scheduler to create your scheduled task.)