Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
> From: cvsnt-bounces at cvsnt.org > [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Glen Starrett > > Bo Berglund wrote: > > And I must make sure to *not* overwrite a file that was there already > > but I did not recognize lest I lose the edits thta might already have > > gone into it... > > Do this then: > > xcopy /my/old/cvsroot /my/temp/cvsroot > xcopy /my/temp/cvsroot /my/old/cvsroot Wouldn't it be simpler and safer to do: attrib +r /my/old/cvsroot/* xcopy /my/temp/cvsroot /my/old/cvsroot attrib -r /my/old/cvsroot/* Unless it's given the /r switch, xcopy won't copy over read-only files. (It's unfortunate that xcopy has a "only copy files that already exist in the destination" option, but not the reverse.) -- Michael Wojcik Principal Software Systems Developer, Micro Focus