This question relates to Winbuilder 082.
I'm currently working on a script that will copy the contents of a USB drive to a temporary directory - the stick is then formatted and the contents are copied back.
My host OS is Windows 8.1 (32-bit). When I use the DirCopy command -
DirCopy,"D:\*.*","%BaseDir%\Projects\Cache\usb.contents"I receive the error
Dircopy - Failed to copy directory [D:\*.*] to: [%BaseDir%\Projects\Cache\usb.contents]: Unknown errorThe majority of the files appear to be copied without error. I'm not sure if the problem is due to Winbuilder also copying (attempting to copy) the System Volume Information and/or Recycle Bin directories.
Any suggestions (other than using a different OS)?
I'm not in a position to restore a Windows 7 backup at the moment, however I think this host OS was copying the contents without error, but was then failing to copy the contents back to the USB drive after it was repartitioned and formatted.