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