Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Move files based on Date  (Read 3207 times)

0 Members and 1 Guest are viewing this topic.

J.J.

  • Guest
Move files based on Date
« 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.

dl65

  • R.I.P.


  • Prodigy

    Thanked: 18
    Re: Move files based on Date
    « Reply #1 on: May 24, 2004, 01:09:51 AM »
    J.J. why do you have to do it in DOS ?

    dl65  ???
    If you don't know the answer, it isn't a dumb question.

    J.J.

    • Guest
    Re: Move files based on Date
    « Reply #2 on: May 24, 2004, 03:44:24 AM »
    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.

    ksmith2112

    • Guest
    Re: Move files based on Date
    « Reply #3 on: July 26, 2004, 07:29:20 AM »
    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!!