New
#1
Batch file to copy files from one folder to another folder
Hi,
Sorry to create a new thread if it is already exists, If my requirement has an answer already in forum please help me to find as i couldn't find yet.
I have network storage drive in which my onsite team will place files regularly, We need to move those files from one folder to another folder. for this we are using a bat file now. The bat file has below code,
The problem with this code is,Code:Move C:\Media\All_Files\All_Completed\*.* D:\Pri_Files\Desk2\
- We need to run it manually for every time.
- It is copying every file from source folder to destination folder
- It is creating duplicate files in destination folder
- need to check manually for new files every time
Can anyone suggest me a good way to run this job automatically and copies only new files from that source file to destination.
It would be great that we can make the script to run automatically for every 5 or 10 minutes to check for new files in source folder.
The source folder has also sub folders sometimes, but we just need to copy only files(PDF) from that folder.
If there are any ongoing copying files, the job should run for completed files or after copying completed.
Please help me to solve this, Thanks in advance.