|Do you want to do any folder cleanup as part of the batch file, or will you be managing the old folders manually? |
Do you really want a time stamp or did you mean a date stamp? Or both even?
In any case, here is the basic script. This can be changed as needed.
;REM Batch file to create time-stamped folder and copy files
xcopy /E /V /Y <PathToExistingFiles> <PathToFolderLocation>\<FolderBaseName-%TIMEFIXED%\
Replace the <PathToFolderLocation> entry with the path to where you want the new folder to be created when the script is run. Replace <FolderBaseName> with the base folder name (If applicable) that you want the folder to have before the time stamp area. Also replace the <PathToExistingFiles> entry with the location of the existing files that you want to copy to the new folder.
The TIMEFIXED variable is needed as the normal time output in DOS is separated by colons which cannot be used in folder names.
Let me know if you have any questions or need more assistance.
IT Desktop & Network Consultant - MOS Master Certified, MCP, MCSA, MCITP - Windows 7, CCNA Certificate Pending, A+, Network +