Computer Hope

Microsoft => Microsoft DOS => Topic started by: blah123 on March 18, 2008, 03:17:33 PM

Title: Move command. Overwrite ? yes/no/all
Post by: blah123 on March 18, 2008, 03:17:33 PM
WinXp Cmd prompt.

How to say 'No to All', when 'move' prompts 'overwrite abc.txt? yes/no/all'

Tried no/all, noall, no-all,no all,no&all,no to all (:-),na, all, no
all no work :)

can't believe i'm asking this - couldnt find it on google/windowsHelp (who uses that ??)

closest was http://www.techtalkz.com/windows-xp/10127-global-move-copy-no-all-question-replacement.html

thanks
Title: Re: Move command. Overwrite ? yes/no/all
Post by: Dias de verano on March 18, 2008, 04:19:52 PM
If you mean you want to halt the Move operation so no more moves take place, then you would hit Ctrl + C at this point. If you want to only move files where they do not exist in the destination then you should study Xcopy. There is no way with Move that you can say "no" to all future overwrites except as I noted above, by halting it completely.
Title: Re: Move command. Overwrite ? yes/no/all
Post by: raywood on January 28, 2022, 08:10:07 AM
I wonder if there's a way to write a looping batch file that would echo "n" so as to serve this purpose.
Title: Re: Move command. Overwrite ? yes/no/all
Post by: patio on January 28, 2022, 09:13:15 AM
The Topic is 13 years old...