![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 9405 Date : 2004-12-02 Author : des4212001 Subject : Re: Hard to Believe Size(KB) : 1
--- In xxcopy@yahoogroups.com, "John Zeman" wrote: > > --- In xxcopy@yahoogroups.com, "des4212001" wrote: > > > > OK, here's the /ED case: > > > > @Echo Off > > xxcopy /EC/CF:"F:\My Documents\Scripts\Sync Dell\My > > Documents2Test.xcf"/PZ0/WS > > Pause > > > > //My Documents2Test.xcf------ > > > > //Source----------------- > > > > "\\Cx532597-a\My Documents\" > > > > //Destination------------ > > > > "F:\My Documents\" > > > > //Switches--------------- > > > > /RSY //Removes files in souce which qualify, no copying or prompts > > /PD0 //No directory processing prompt > > /BZ //Backs up different size files, including new > > /ED //Copies empty directories > > /Q //Does not display files that are skipped > > > > > > > /ED //Copies empty directories > > The description you have of the above option indicates your problem. /ED does not copy anything, it only preserves a directory that becomes empty after the files have been deleted. Below is a general purpose xxcopy line to delete all files in a directory, including the files in the subdirectories, while retaining the directory tree. > > XXCOPY \yourdir\ /RSY /S /ED /PD0 /H /R > > Note the use of /S with /ED > > John Ah-ha! I'll get there... maybe? My problem was, /E says "copies empty directories and subdirectories, including empty ones". The description above was left over after changing /E to /ED, but I still did infer subdirectories were included. And the /ED series help does use the word directory, singular. Perhaps this would be a point to emphasize\clarify in future updates? While I've got you, it's trivial but... in your HTML Help file, Remove (file delete) page, \RMDIR line, the link for /H/S is broken. Thanks: DES
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.