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

Author Topic: Writing Backup Batch File  (Read 3494 times)

0 Members and 1 Guest are viewing this topic.

Kjwientjes

  • Guest
Writing Backup Batch File
« on: February 26, 2008, 10:30:56 AM »
I need some help in writing a batch file to back up like *.jpg *.wmv *.jif from the C: drive to a flash drive with either current day or user imput date for any files newer than that date.  I am using XP.
Ken

gpl



    Apprentice
  • Thanked: 27
    Re: Writing Backup Batch File
    « Reply #1 on: February 26, 2008, 10:49:33 AM »
    I dont know how far you have got, if you are looking for something to start you off, this will give you a clue, look at the help for

    XCOPY /?
    particularly the /D parameter
    SET /?
    particularly the /P parameter

    Show us what you have so far (code, pseudo-code, whatever)

    Graham

    Kjwientjes

    • Guest
    Re: Writing Backup Batch File
    « Reply #2 on: February 27, 2008, 07:00:47 AM »
    I haven't actually wrote any of the batch yet, my main question is how a date command is used in a batch file. 
    Ken