topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 10:55 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

Hikari1502

  • Participant
  • Joined in 2014
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
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.