May 7, 2009 at 15:25:30
Specs: Windows Server 2008
Hello Everyone. I am having trouble getting my batch file to work correctly. What I am wanting to do is have a batch file that will copy the entire contents of e:\ACSNET to the folder b:\ACSNET

Here is what I am trying to use:

xcopy /E /V /Y E:\ACSNET B:\Backup\ACSNET

What I end up with is only the files in the directory e:\acsnet copy. None of the sub directories are copying. I have also tried used the switch /S and same thing happens. Am I doing something wrong?

Thanks in advance for your help.

See More: XCOPY Issue

Report •

May 16, 2009 at 16:48:59
You're missing the /S to xcopy subfolders too.

Please send a reply, if you solved the problem !!!

Report •

June 19, 2009 at 07:50:29
You r switches are in the wrong spot and i would recommend some other switches added in.


xcopy E:\ACSNET B:\Backup\ACSNET /c /h /e /v /k /y

Report •

Related Solutions

Ask Question