Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Task Scheduler Move File

20 Apr 2015   #1
Shloma

New York
 
 
Windows Task Scheduler Move File

Hello:

Using windows task scheduler, how do I move a file to a different folder, there is a box Program/Script that can browse a file then there is a box Add arguments, where and how do I add the from and to file path

Thanks much!


My System SpecsSystem Spec
.
21 Apr 2015   #2
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Hi Shloma,

There is a program that comes with Windows called Robocopy. Sounds like the program you need for the task.

The basic syntax for moving files with Robocopy is
Code:
robocopy /move source_folder destination_folder files_mask
Example, if you want Task Scheduler to move all files from C:\My\Path that have extension of .txt to C:\My\Destination, the command you should schedule would look like
Code:
robocopy /move "C:\My\Path" "C:\My\Destination" "*.txt"
And moving a specific file would look something like,
Code:
robocopy /move "C:\My\Path" "C:\My\Destination" "MyFile.txt"
My System SpecsSystem Spec
Reply

 Windows Task Scheduler Move File




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
How do I disable a task in the windows 7 Task Scheduler?
Firstly, I'd like to thank you for taking your time and reading this. Now, let's talk about the issue that's driving me loco. I scheduled a task for my computer to shut itself down at 1 AM, I was tired, I can't remember if I ticked "do this daily" or not, but it does this every day and for...
General Discussion
Windows Task Scheduler stays active after it runned a batch file
Hi small question, My batch file runs quite well in windows task scheduler, but it stays active. How can I make sure Task Scheduler finishes this? I am closing VLC player with a command ending with --play-and-exit and then vlc:quit (to kill the processes in the task manager).
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:16.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App