Greetings to all,
Kinda new in DOS script for Win2003. I have to admit I am not in programming & have 20 - 30 % knowledge in it. Done everthing in GUI. So I need some help. Here is the situation for windows 2003.
A folder containing files(below, no extension):
need to move these files within certain dates (say, 2 or 3 days old) to another folder and scheduled to run (using Scheduler, of course) every day.
Then after 1 week of copying the folder has to be deleted off it's contents.
So the part of identifying it to be 2 or 3 days older is a bit hard for me to figure out in DOS.
Anyone can help out?
Appreciate the helpl
script in copying files to folders in Win2003
Moderator: DosItHelp
Greetings:
This should get you started
Take a look in the "DOS Batch - Date and Time" area on this site. Lots of good stuff about "Using date and time functions in DOS."
http://www.dostips.com/DtTipsDateTime.php
Cheers
This should get you started
Take a look in the "DOS Batch - Date and Time" area on this site. Lots of good stuff about "Using date and time functions in DOS."
http://www.dostips.com/DtTipsDateTime.php
Cheers