Share this article
Improve this guide
How to Automatically Copy Files From One Folder to Another on Windows 11
You can automate this process using the Task Scheduler
3 min. read
Updated onOctober 20, 2023
updated onOctober 20, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
It’s important to keep a backup of important files and you can easily automatically copy files from one folder to another on your PC with built-in tools.
Windows already has commands that allow you to copy files, and in this guide, we’ll show you how to utilize them to automate the copying process.
How to automatically copy files from one folder to another in Windows 11?
1. Create a batch file
2. Create a scheduled task to run the script
3. Use third-party software
In case you’re having issues with this tool, you can use any otherfile sync software.
Batch script to move files from one folder to another based on date/name
To move files based on their name, use the following script, just manually set the file pattern as well as the source and destination directory:
To move files based on their modified date, use the following script:
As you can see, it’s relatively simple to use a script to copy files from one folder to another automatically on Windows 11. To better understand how these commands work, we suggest learning how tocopy files using Command Prompt.
To ensure that everything is working as it should, it’s a good idea tocompare folders and copy missing filesaccordingly. For more information on file management, visit our guide on how toextract files from multiple folders.
What method do you use to copy files automatically on your PC? Share it with us in the comments section below!
More about the topics:command prompt,Windows 11 guides
Milan Stanojevic
Windows Toubleshooting Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he spends most of his time learning about computers and technology.
Before joining WindowsReport, he worked as a front-end web developer. Now, he’s one of the Troubleshooting experts in our worldwide team, specializing in Windows errors & software issues.
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Milan Stanojevic
Windows Toubleshooting Expert
Before joining WindowsReport, he worked as a front-end web developer. Now, he’s specialized in Windows errors & software issues.