1.    07 Oct 2015 #1
    Join Date : Oct 2015
    Posts : 4
    Windows 10

    Task Scheduler - how to run program on different drive?


    Hi,
    I'm trying to set up a task using Task Scheduler to run a game which is on one of my secondary drives, drive F: - I have Windows 10 installed on the C: drive.
    The problem I'm having is Task Scheduler doesn't seem able to start a program if it's on any drive except C: - I can create a task to run any program or open any file if it's on the C: drive, but nothing runs if it tries to access the F: drive.
    As an experiment, I created a simple task to open a jpeg picture - it opened no problem on the C drive, but on the F drive I was prompted to pick an application to open it with (I chose Windows picture viewer) after which the jpeg wouldn't open/load.
    Any ideas what I can do to create a task which will run on my F drive?
    Many thanks, I appreciate any help you can offer.
      My ComputerSystem Spec
  2.    07 Oct 2015 #2

    You need to supply an executable - if it relies on a dll, supply rundll as the exe.

    eg: RunDLL32.exe C:\Windows\System32\Shimgvw.dll,ImageView_Fullscreen F:\Capture.png
      My ComputerSystem Spec
  3.    07 Oct 2015 #3
    Join Date : Oct 2015
    Posts : 4
    Windows 10
    Thread Starter

    Thanks for the reply Superfly, but I'm a little unsure of your instruction.

    The actual game file location is: "F:\Games\Dark Souls\DARKSOULS.exe". In Task Scheduler I have the action as "start a program" and in Program/Script I have that file location. Do I need to add anything to 'add arguments' or 'start in'?

    Thanks.
      My ComputerSystem Spec
  4.    07 Oct 2015 #4

    Try using "explorer.exe" as Program/Script and "F:\Games\Dark Souls\DARKSOULS.exe" as the augument.

    If you are still unable to launch it, check for any switches in Task Manager (Processes tab - Rt click Menu bar - select commandline) after launching it manually.
      My ComputerSystem Spec
  5.    07 Oct 2015 #5
    Join Date : Oct 2015
    Posts : 4
    Windows 10
    Thread Starter

    That was it! Many thanks Superfly!
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
How to show Command Prompt Window when running task in Task Scheduler?
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
General Support
Task Scheduler
I have set up a scheduled task called its time and every time I try to run it here is what comes up. I am using Win 10 and have plenty of ram 12GB. Here is message in attachment. Please help. It has worked in past with Win7. But no go in Win10??...
General Support
Task Scheduler
At one time I was showed how to set an alarm using Task scheduler. It worked great when I was using Windows 7. Since I have upgraded to Windows 10, it doesn't work anymore. I put in the scheduler the same words but when it is time to go, a pop up...
General Support
Solved Time Zone change causes error in Task Scheduler for every task
My issue is kind of strange. I am an insider currently on Windows 10 build 10240. All the build I have tried so far has this same error in task scheduler when I change my time zone to my current location which is kathmandu (UTC+5:45). When i change...
Performance & Maintenance
Solved How to run a program in task scheduler?
I have installed Speedfan and it won't run at the windows startup, so I tried to schedule it in task scheduler, I am not familiar with using it and wondered if there is a guide for W10 64 anywhere or if anyone can tell me how? Many thanks in...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:16.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums