Open Run Program from a Specific Location

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Sanskey
Newbie
Posts: 6
Joined: Mon May 11, 2015 11:45 am

Open Run Program from a Specific Location

Post by Sanskey » Tue Aug 04, 2015 8:41 am

Hi there,

Within the Windows Task Scheduler you have beside the arguments the opportunity to add "Start In (optional)". So, there I add a Folder path. In the Windows Task Scheduler I've add the following Action and worked and can be executed with no Problem:

Program/ script:
C:\Folder1\Folder2\workload.exe

Start in (Optional)
C:\Folder1\Folder2\

Is there any opportunity how I can do this to run a program also this way in Macro Scheduler by adding this

What I already tried and didn't work:
1. RunProgram>C:\Folder1\Folder2\workload.exe
2. ExecuteFile>C:\Folder1\Folder2\workload.exe,C:\Folder1\Folder2\
3. ExecuteFile>C:\Folder1\Folder2\workload.exe,D/ C:\Folder1\Folder2\

Any ideas?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Open Run Program from a Specific Location

Post by Marcus Tettmar » Tue Aug 04, 2015 9:17 am

Like this:

ChangeDirectory>C:\Folder1\Folder2
RunProgram>C:\Folder1\Folder2\workload.exe
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Sanskey
Newbie
Posts: 6
Joined: Mon May 11, 2015 11:45 am

Re: Open Run Program from a Specific Location

Post by Sanskey » Tue Aug 04, 2015 11:47 am

Thanks Marcus.. exactly like this. It works!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts