batch file copy

Zinkaczu

Prominent
Feb 13, 2017
3
0
510
Hi guys I need to create bath file to copy files over network streight to c drive
so far i mapped drive ill write how I do it manualy ...

start /wait net use w: "\\fileslocation\Images" workshop /user:workshop
cd mgcam
cd files
copy *.* c:
cd..
cd..
cd gcam
cd files
copy *.* c:

can someone do script for me to save time doin it cheers
 
Solution
Just put all these lines in a file with ".BAT" extension, and type that file' name as command.
If you want to copy complete folder with subfolders, you can use "xcopy" command, or download "robocopy" from Microsoft.