![]()
[<<]Message[>>] Author Subject Thread
Number : 3453 Date : 2003-01-06 Author : tk_swann Subject : Empty folders are not moved when using /rc switch Size(KB) : 1
I am trying to move directory trees where some subfolders are empty and where I have the following constraints: 1] The source folder must not be moved 2] All folders and files (including empty folders) below the source folder must be moved. What is actually happening is that constraint #1 is met but empty folders under the source folder are merely being deleted, not moved. Is this a bug in xxcopy or am I just not using xxcopy correctly? Can anyone help? The xxcopy command line I am using is: xxcopy %1 %2 /rcy /e /ed1 /v /ec /oa%3 /pb1k /ws%4 /pd0 which is from a batch file where %1 and %2 are the source and destination folders, %3 is the logfile and %4 is the WaitBeforeXxcopy time. e.g. %1 = "C:\transport\transport to destination\" %2 = "C:\transport\destination\" %3 = "C:\transport\transport to destination.log" %4 = 10 Here is my understanding of what the switches do: ---------- rem /rcy = /rc action without the warning on "file-delete-after-copy" action. rem (where /rc = copy files then delete files) rem /e = process empty folders rem /ed1 = preserve 1st level folder in source rem /v = verify (by file size) after copy rem /ec = echo command line rem /oA = appends log to logfile "fname" rem /pb1k = display progress bar for job and all files over 1K rem /ws = waits at the start of operation for seconds rem /pd0 = Suppresses the warning generated by the /PD setting rem which prompts you on a directory deletion and rem would be on by default in destructive operations such as move (/rc) ----------
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.