DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Copy multiple folder in a specified path folder with time interval  (Read 3,183 times)

Hikari1502

  • Participant
  • Joined in 2014
  • *
  • Posts: 1
Good Day,

I was wondering since I am a newbie I don't know How to make it works properly. I have a multiple folder that need to backup and instead copy it one by one I've come up to set all my files to backup automatically. I want to copy all folders to my backup drive (in diff. directory) and set a time interval. What I mean is that if one file are still copying the next file should not execute until the first one is finish...

here the example of my files:

set date=%yyyy%%mm%%dd%
mkdir %date%

xcopy C:\data\Folder  E:\%date%\Folder /i /s /e
xcopy C:\data\Folder1 E:\%date%\Folder1 /i /s /e
xcopy C:\data\Folder2 E:\%date%\Folder2 /i /s /e
xcopy C:\data\Folder3 E:\%date%\Folder3 /i /s /e
xcopy C:\data\Folder4 E:\%date%\Folder4 /i /s /e

BTW, I am using windows xp. Anyone, please help me on this.
Thanks in advance.

Original address: https://www.donationcoder.com/forum/index.php?topic=37969.0