The only thing I can think of is: Since you're using File::Find to traverse the directory tree to delete, why not just change the logic to use File::Find on the source drive, and then build the directory structure in the same way you're tearing it down. Then you can omit the xcopy...
Regarding cut & paste to/from the DOS window: What works for me (Windows 2000 Professional) is to right-click the title bar of the DOS app, and select Edit->Mark, then use the mouse to highlight text and press the Enter key. That puts it on my clipboard so I can paste with ^V in *real* applications... 8^). I dunno if it'll work for you, but maybe it will.
--roboticus
In reply to Re: How to sync a UNC path to a USB memory stick in Windows?
by roboticus
in thread How to sync a UNC path to a USB memory stick in Windows?
by OfficeLinebacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |