PC Review


Reply
Thread Tools Rate Thread

Copy files between machines using command language

 
 
JWirt
Guest
Posts: n/a
 
      2nd Jan 2009
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

 
Reply With Quote
 
 
 
 
John Wirt
Guest
Posts: n/a
 
      2nd Jan 2009
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

 
Reply With Quote
 
Shenan Stanley
Guest
Posts: n/a
 
      2nd Jan 2009
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


 
Reply With Quote
 
Shenan Stanley
Guest
Posts: n/a
 
      2nd Jan 2009
John Wirt wrote:
> 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?

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesharing disabled. How to copy files across machines ? dingdongdingding@yahoo.com Windows XP General 4 9th Apr 2008 02:56 PM
How to copy files between machines Don J Windows XP Networking 4 18th Mar 2007 12:10 AM
When will Microsoft learn how to copy files between 2 machines? GT Windows Vista General Discussion 5 6th Feb 2007 04:39 AM
Cannot copy file msg accessing files with local language characters in name thru a LAN paulo@home.com Windows XP General 0 15th Nov 2006 05:24 PM
How can I copy 2 and more files with copy command? M. Nadeem Windows XP Customization 1 5th Aug 2004 09:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:26 AM.