How do I copy all of the files from a mapped network drive's shared folder to the local c: drive?
Posted on 2006-10-26
I need a script to copy files from a network share (drive is already mapped) to the local c: drive of many pc's.
I am thinking of something like this. Beware, as I am a newbie at this:
if exist x:\ net use x: /delete
net use x: \\server1\share
copy x:\*.* \\%computername%\c:
:: file.exe is one of the files that was copied over from the \\server1\share