How to automatically move files from one folder to another folder on windows using TASK SCHEDULER
How to automatically move files from one folder to another folder on windows using TASK SCHEDULER
In this tutorial we going to learn how to automatically move multiples files from a directory to a another directory.
Let's say we wanna move thoses 3 folders : download.xls, download(1).xls, download(2).xls
in download(C:\ drive) folder with path: C:\Users\jbej90-pc\Downloads\
IN folder which is in E:\ drive.
Step 1: Create a .BAT file using notepad, name it: moveExcel.bat
* WINDOWS FLAG + R, type notepad, hit ENTER
* Once notepad is open.
*Type this command: start move C:\Users\jbej90-pc\Downloads\*.xls e:\excel
*Type this command: start move C:\Users\jbej90-pc\Downloads\*.xls e:\excel
NOTE: replace jbej90-pc by the name of your pc
To verify the name of your pc: 1) Open cmd 2) type: HOSTNAME
* Now save this files on your computer
Step 2: Open TASK SCHEDULER
* WINDOWS FLAG + R (RUN)
* Type: taskschd.msc
Step 3: Now create a basic task
*Clic on TASK SCHEDULER LIBRARY
* Clic create basic task
* Clic create basic task
* Give it a name , give it on description, clic next
* Now choose DAILY, clic next
*Now give it a time, please give it 5 minutes up to your current time.
* Now clic on start program
* Browse the path of the .BAT file you create(moveExcel.bat)
*Clic next
*Check the box below
*Clic finish
Step 4: In the next dialog windows :
*Clic on RUN WITH HIGHEST PRIVILEGES
* In tab CONDITION, clic wake the computer up to RUN this file
* In tab CONDITION, clic wake the computer up to RUN this file
*In setting , clic RUN task as soon as possible
* Now clic ok to Validate.
* Now clic ok to Validate.
As you can see in image below, all the .XLS files has been moved to E:\ drive in excel folder.
You have difficulties to complete this tutorial? Feel free to download this mobile app in chat with me in Message button. I am always available:
Commentaires
Enregistrer un commentaire