Discussion Locked

Batch file net addresses

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How are networking addresses written which can be used in a batch file to copy files from one computer to another over a wireless network?

Regards

Les Wellington

1 reply

by blackcurrant

Hi

use the following:

xcopy \\sourcePCname\sharename\filenames \\destinationPCname\sharename\

if the folders are not shared and you have administrative rights on both PC's then you should use this command:

xcopy \\sourcePCname\c$\foldername\filename \\destinationPCname\c$\foldername\

Good luck

This discussion is closed to new replies.