i am using the following code which copy all the .pdf file from hard sisk to usb in a folder DATA,
1. i want to hide destination folder "DATA" in usb while i am copying my data from hardisk to USB.
2. the folder should be invisible while the robocopy is running and copying the file.
plz help in changing the below code
for %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do (
if /i not "%%a:"=="%~d0" robocopy %%a:\ *.pdf "%~d0\data\drive %%a" /xd /s
)
hide while doing robocopy
Moderator: DosItHelp