Batch file will copy but wont send files

December 27, 2011 at 09:07:49
Specs: Windows Vista
I'm trying to write a batch file that copies files from one folder and sends them to another folder. I can get it to copy but it doesnt send the files at all. I need the batch file to perform the following: Prompt user for a [SOURCE] path and a [DESTINATION] path
Once paths are entered by the user, the application will copy all files/folders
--Must copy folder structure
--Must copy attributes of files
--Must copy hidden files and directories
--Must not require any user input beyond source and destination paths
--Must use a system of variables to contain the paths
--Must log copy process
So far i have xcopy /E/L/H//K/O "C:\source"C:\Destination
any answers to this question would be greatly appreciated.

See More: Batch file will copy but wont send files

Report •

December 27, 2011 at 11:03:48
Okay, those codes you have there /E, etc, those need to come after the entire code. So it would be the same same code you have, but the attributes at the end.

Report •
Related Solutions

Ask Question