Batch file for copy folder

Closed
aslani606 Posts 1 Registration date Friday July 17, 2015 Status Member Last seen July 17, 2015 - Jul 17, 2015 at 04:08 PM
Hello

The code for a batch file

copy folder (my folder name is = my user client on the network username .for example may user name is user1 So my folder ind drive D is User1) from drive D to another drive copy.

I've tested this code, but did not answer.

MD D:\bdc94
attrib -r -h -s D:\bdc94\*.*
xcopy "d:\%username%\*.*" d:\bdc94 /Q /Y /R /S


tanks