JWirt wrote:
> I tried copy files between machines using this command:
>
> XCopy g:\Lotus\work\AAccounts.* \\192.168.1.102\g:\Lotus\work\ /K/Y
>
> Obviously, 192.168.1.102 is the IP address of the destination
> machine.
>
> Is there are way to do this in batch command language?
>
> The remote machine is not mapped to the first machine as a drive.
"g:" is the share name?
Or was that an accident?
("g$" I could believe - if it is an administrative share.)
If the command line works - a batch script is nothing more than putting that
command line in a script and running the script as a user with the proper
permissions in order to perform said action.
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html