Copy files between machines using command language

  • Thread starter Thread starter JWirt
  • Start date Start date
J

JWirt

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.

John Wirt
 
JWirt edit:

I tried to 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 a way to do this in batch command language?

The remote machine is not mapped to the first machine as a drive.

John Wirt
 
JWirt said:
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.
 
John said:
JWirt edit:

I tried to 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 a way to do this in batch command language?

The remote machine is not mapped to the first machine as a drive.

Double Post/reply to self?
 
Back
Top