Computer Hope
Microsoft => Microsoft DOS => Topic started by: J.J. on May 24, 2004, 12:40:43 AM
-
Hello all,
For archiving purposes i need to move files > 1month old.
I read all topics but this seems hard to perform in DOS, can anyone help me out?
Thx,
J.J.
-
J.J. why do you have to do it in DOS ?
dl65 ???
-
Hello dl65,
I need the script to run on win2k. The script will be executed by a WMS scheduler.
Why in DOS: Basicly all additional scripting (ftp, file moves, sql kickoffs, ..) is currently done in DOS and i like to keep it that way for the near future.
I tried but my DOS knowledge is nothing more than the basics so the 'date selection' is too much for me.
J.J.
-
I am also in this same boat. I need to write a batch file that will be run by Windows Scheduled Task. I need the batch file to look at a directory and move files that are older than the current date - 3, or 72 hours. Can this be done in DOS? Thanks!!