Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?
From: Dmitriy Kopnichev (kopn_at_hotbox.ruDELETE)
Date: 06/30/04
- Next message: Kelly: "Re: Help deleting an application (a .CAB file)"
- Previous message: Kelly: "Re: iexplore.exe"
- In reply to: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Next in thread: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Reply: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 30 Jun 2004 09:54:13 +0400
Thanks for your reply.
XCOPY source destination /Y overwrites destination files without prompting.
I do not want to overwrite. What does your " -n" do in XCOPY command?
"Nathan McNulty" <525676@microsoft.com> wrote in message
news:uceJ0YhXEHA.1584@TK2MSFTNGP10.phx.gbl...
> I haven't tested this yet, but does XCOPY source destination /Y -n work?
>
> Nathan McNulty
>
>
> Dmitriy Kopnichev wrote:
> > It is strange that Windows XP Professional by itself can't copy files
> > without overwriting and prompting!
> > "Carrie Garth" <PostInGroup@invalid.cxg> wrote in message
> > news:eGiVZiWXEHA.1356@TK2MSFTNGP09.phx.gbl...
> >
> >>||||| "Dmitriy Kopnichev" <kopn@hotbox.ruDELETE>
> >>||||| wrote in message news:uPFftiJXEHA.716@TK2MSFTNGP11.phx.gbl
> >>||||| Hello How to suppress prompting and not overwrite an
> >>||||| existing destination file in XCOPY? There's no this in the
> >>||||| XCOPY help or XCOPY /?
> >>
> >>|||| "Lanwench [MVP - Exchange]"
> >>|||| <lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> ||||
> >
> > wrote in message
> >
> >>news:%23b8EABKXEHA.3640@TK2MSFTNGP11.phx.gbl
> >>|||| Not sure, as I I haven't used xcopy for ages - robocopy
> >>|||| from the resource kit will do this nicely for you, tho.
> >>
> >>||| "Dmitriy Kopnichev" <kopn@hotbox.ruDELETE>
> >>||| wrote in message news:e%23l5nBOXEHA.4064@TK2MSFTNGP11.phx.gbl
> >>||| Thanks for your reply! How to get the resource kit or the
> >>||| robocopy?
> >>
> >>|| "Carrie Garth" <PostInGroup@invalid.cxg>
> >>|| wrote in message news:e5822QSXEHA.712@TK2MSFTNGP11.phx.gbl
> >>|| <SNIP> Windows Server 2003 Resource Kit Tools Help
> >>||
> >
> >
http://www.microsoft.com/resources/documentation/windowsServ/2003/all/techref/en-us/robocopy.asp
> >
> >>|| <SNIP> Windows Server 2003 Resource Kit Tools
> >>
> >
> >
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
> >
> >>|| <SNIP>
> >>
> >>| "Dmitriy Kopnichev" <kopn@hotbox.ruDELETE>
> >>| wrote in message news:eDLxmmVXEHA.3716@TK2MSFTNGP10.phx.gbl
> >>| Thanks for your reply!
> >>| How to get the Robocopy_exe Robust File Copy Utility, not
> >>| to download all the Resource Kit Tools 12 mb file?
> >>
> >>Sorry. But I do not think that you can download
> >>robocopy.exe separately from the Resource Kit Tools.
> >>
> >>An alternative tool with a great deal of flexibility is XXCopy.
> >>This tool is freeware for personal usage, is packaged as a
> >>*.zip file for download, and is only 244 KB zipped.
> >>
> >>Note that XXCopy has hundreds of switches and takes
> >>some practice, but there is a great deal of documentation and
> >>support (gotta love it!)
> >>
> >>For the main Web Page for XXCopy see:
> >>
> >>XXCOPY, a Versatile File Management Utility
> >>--- Boldly Extended Xcopy
> >>http://www.xxcopy.com/
> >>
> >>For Guidance and Reference (Technical Bulletins)
> >>http://www.xxcopy.com/index.html#tbul
> >>
> >>To download the XXCopy help (*.chm) file:
> >> http://www.xxcopy.com/xxcopy.chm
> >>
> >>To read the XXCOPY Discussion Group:
> >>http://groups.yahoo.com/group/xxcopy
> >>
> >>To view the numerous NG postings from the author of
> >>XXCOPY, Kan Yabumoto:
> >>http://www.google.com/groups?&q=author%3AKan+author%3AYabumoto
> >>
> >>And if I understand correctly what you are trying to do...
> >>
> >>You have a backup of files from a certain folder, say
> >>C:\My Documents, in another folder, say D:\backup.
> >>And you want to be able to backup brand new files
> >>only (from C:\My Documents to D:\backup). That is,
> >>you do not want to overwrite existing files. And you
> >>do not want to be prompted as to such. If that is
> >>correct then use XXCopy with the /BB switch.
> >>For example:
> >>
> >>xxcopy "c:\My Documents" d:\backup\ /BB
> >>
> >>Note that I may have misunderstood what you
> >>are trying to do. And I am not an expert in the use
> >>of XXCopy (or any command line tool for that
> >>matter). So if you decided to use my command
> >>please test the command on a temp directory with
> >>temp files before you actually use it on your
> >>valuable data.
> >>
> >>
> >>
> >
> >
> >
- Next message: Kelly: "Re: Help deleting an application (a .CAB file)"
- Previous message: Kelly: "Re: iexplore.exe"
- In reply to: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Next in thread: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Reply: Nathan McNulty: "Re: How to suppress prompting and not overwrite an existing destination file in XCOPY?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|