Results 1 to 5 of 5
  1. #1
    4 Star Lounger
    Join Date
    Apr 2001
    Location
    Guatemala City
    Posts
    515
    Thanks
    0
    Thanked 0 Times in 0 Posts

    BATCH files (Win XP SP2)

    I am using batch files to creat/maintain back-up files. How do I get rid of the Y/N question when overwriting files?

  2. #2
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: BATCH files (Win XP SP2)

    One way:

  3. #3
    4 Star Lounger
    Join Date
    Apr 2001
    Location
    Guatemala City
    Posts
    515
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: BATCH files (Win XP SP2)

    Great! How do you get the options for the XCOPY command?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: BATCH files (Win XP SP2)

    Start a command prompt window.
    Type xcopy /? and press Enter.
    The /? switch works for most or all batch commands.

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: BATCH files (Win XP SP2)

    Just FYI, have you considered using the <img src=/S/free.gif border=0 alt=free width=30 height=15> XXCOPY as an alternative to xcopy? The XXCOPY Cookbook: Recipes of common usages contains numerous useful/ powerful batch backup strategies.

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •