da1i1princess
Thread Starter
- Joined
- Nov 8, 2007
- Messages
- 3
I know it's archaic.
Here's my dilemma...I've got an archive folder that has files dating back from 2006. I want to create a batch file to copy the most recently dated files to another folder called Daily. This would run each day.
Is it possible to denote that???
Here is an example of my script:
copy "c:\TEST\site\archives\*.*" %GOTO CUR-DATE% "C:\TEST\site\Daily" /y
I've tried to run it several times and it just copies "all" the files in the archive folder over.
Thanks to whomever can help me.
Here's my dilemma...I've got an archive folder that has files dating back from 2006. I want to create a batch file to copy the most recently dated files to another folder called Daily. This would run each day.
Is it possible to denote that???
Here is an example of my script:
copy "c:\TEST\site\archives\*.*" %GOTO CUR-DATE% "C:\TEST\site\Daily" /y
I've tried to run it several times and it just copies "all" the files in the archive folder over.
Thanks to whomever can help me.