Batch file to copy from source to destination

Closed
Vipin - Feb 29, 2016 at 04:27 AM
BrianGreen Posts 1005 Registration date Saturday January 17, 2015 Status Moderator Last seen September 30, 2021 - Mar 2, 2016 at 01:35 AM
Hello,

I am working to copy my folders with subfolders from one location to other with help of listfile.
But i am not able to copy main folders only sub folders are coming.
Please can you help me in this

Related:

1 response

BrianGreen Posts 1005 Registration date Saturday January 17, 2015 Status Moderator Last seen September 30, 2021 149
Mar 2, 2016 at 01:35 AM
Hi Vipin,

Im not a pogrammer, but looking at some bits on the internet suggest that XCOPY might help.

XCOPY "[Source Path ]" "[Destination Path]" 

There are some swithces you can use to make this more granular. To see these (and to see what they do) type
XCOPY /?
into a command prompt.
0