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

Author Topic: xcopy no prompt  (Read 6366 times)

0 Members and 1 Guest are viewing this topic.

ABuNeNe

    Topic Starter


    Greenhorn

    xcopy no prompt
    « on: June 19, 2009, 12:28:27 AM »
    I'm doing a copy with the following command to perform a copy.

    Code: [Select]
    xcopy /s /c /d /e /h /i /r /k /y /q

    I'm encountering "Are you sure (Y/N)?" prompt. Any idea how to I remove the prompt?

    billrich

    • Guest
    Re: xcopy no prompt
    « Reply #1 on: June 19, 2009, 04:38:21 AM »
    xcopy  /?

    /Y           Suppresses prompting to confirm you want to overwrite an
                   existing destination file.

    squall_01



      Prodigy

      Thanked: 80
      Re: xcopy no prompt
      « Reply #2 on: June 19, 2009, 05:40:25 AM »
      dos isnt case senitive, have you tried it with just /y?  That should tell it to replace the file no matter.

      Windows 7 RC Tester.  Working on it.  Your monitor says etchasketch on the side!

      If I fall who is there to pick me up now.  I stand alone but I stand as the gaurdian for whom I wish to protect.  The sound of my blade utters my name as you fall.  For I shall not move.  For those that forsake the very people are wosres

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: xcopy no prompt
      « Reply #3 on: June 19, 2009, 07:25:03 PM »
      This sort of falls in the same catagory, I'm using XCOPY to copy directoryies and it keeps asking me for directories or files, can I make it auto-choose directories?
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      Dusty



        Egghead

      • I could if she would, but she won't so I don't.
      • Thanked: 75
      • Experience: Beginner
      • OS: Windows XP
      Re: xcopy no prompt
      « Reply #4 on: June 19, 2009, 08:17:42 PM »
      Helpmeh - ensure the destination path ends with a backslash to indicate a directory.

      e.g. xcopy ....c:\sourcepath d:\destinationpath\
      One good deed is worth more than a year of good intentions.

      billrich

      • Guest
      Re: xcopy no prompt
      « Reply #5 on: June 19, 2009, 09:26:56 PM »
      Helpme,


      xcopy /?
      .
      .
      .
        /S           Copies directories and subdirectories except empty ones.

      .
      .
      .


      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: xcopy no prompt
      « Reply #6 on: June 20, 2009, 06:17:45 AM »
      @Dusty
      Thanks, that should help!

      @Billrich
      I want to copy the empty directories.
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      squall_01



        Prodigy

        Thanked: 80
        Re: xcopy no prompt
        « Reply #7 on: June 20, 2009, 07:14:23 AM »
        / indicates the last dir at the end of the desenation an source
        Windows 7 RC Tester.  Working on it.  Your monitor says etchasketch on the side!

        If I fall who is there to pick me up now.  I stand alone but I stand as the gaurdian for whom I wish to protect.  The sound of my blade utters my name as you fall.  For I shall not move.  For those that forsake the very people are wosres

        Helpmeh



          Guru

        • Roar.
        • Thanked: 123
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Familiar
        • OS: Windows 8
        Re: xcopy no prompt
        « Reply #8 on: June 20, 2009, 08:06:37 AM »
        Thanks squall, oh and btw, you spelled guardian wrong.
        Where's MagicSpeed?
        Quote from: 'matt'
        He's playing a game called IRL. Great graphics, *censored* gameplay.

        squall_01



          Prodigy

          Thanked: 80
          Re: xcopy no prompt
          « Reply #9 on: June 20, 2009, 04:43:53 PM »
          figures, I was tring to think of something but it evaded me.
          Windows 7 RC Tester.  Working on it.  Your monitor says etchasketch on the side!

          If I fall who is there to pick me up now.  I stand alone but I stand as the gaurdian for whom I wish to protect.  The sound of my blade utters my name as you fall.  For I shall not move.  For those that forsake the very people are wosres