ilias
asked on
Batch file to copy from one folder to another by rename files
Hi Experts
How to write a batch file which can copy all files from one folder to another and rename the files adding date and time with the filename in destination folder.
Regards
How to write a batch file which can copy all files from one folder to another and rename the files adding date and time with the filename in destination folder.
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It takes a bit of learning time to search through the HUNDREDS of command line switches to find exactly what you want, but xxcopy will handle every conceivable permutation of copy/move/rename/archive type operations. Best of all, it's free for personal use, and reasonable for commercial use.
(I just realized I sound like a sales advertisement. Let me assure you, I am not affiliated with the makers of xxcopy in any way; I've just used the product myself, to create a batch file that will copy certain files to an alternate location, and then delete any files in the destination that are over 1 year old, thereby creating a 1 year self-cleaning archive. It's not what I'd call easy to use, but it is very powerful.)
:)