batch file to copy files accross the Network

September 1, 2011 at 07:02:24
Specs: Windows 7
using a batch file to copy files accross the network what is the syntax to access maped network drives in DOS? I am trying to use xcopy to copy from a file server at another site but in our domain,

See More: batch file to copy files accross the Network

Report •


#1
September 8, 2011 at 16:51:12
@echo off

xcopy /e /v /y E:\folder \\NTSERVER\folder

/e is to copy all of the subdirectories and their content
/v is to verify the copy it makes
/y is to go ahead and overwrite the remote copy of the file without asking

I usually will put the IP Address in place of NTSERVER. As far as I know you can use the destination's name, but I have never tried.

hope this helps


Report •
Related Solutions


Ask Question