Question Locked

batch file to copy based on specific creation date

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi I am try to learn some simple things in batch files. Even though I have solved the majority of my "problems" I am still having some. Does any one can tell my how to write a batch which is going to read some folder and then to copy a number of files based on their creation date to some other folder? .For example all the files look like:090121.gz. So what I need is to read the filename and if it is contain the appropriate day to copy it in a new folder. Thnks all of you

3 replies

by normh3

You might consider looking at the ROBOCOPY command. I am sure if you GOOGLE it you will find tutorials.

This discussion is closed to new replies.