Batch file to copy from source to destination

Closed
Vipin - 29 Feb 2016 à 04:27
BrianGreen Posts 1005 Registration date Saturday 17 January 2015 Status Contributor Last seen 30 September 2021 - 2 Mar 2016 à 01:35
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 17 January 2015 Status Contributor Last seen 30 September 2021 149
2 Mar 2016 à 01:35
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.