Computing.Net > Forums > Windows XP > xcopy directory across network

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

xcopy directory across network

Reply to Message Icon

Name: deadlight
Date: November 30, 2005 at 01:12:23 Pacific
OS: XP Pro SP2
CPU/Ram: P4 2.Ghz 512Mb Ram
Comment:

Not used dos commands in a little while and im a bit rusty. Trying to copy a directory from one computer to another over network using this command.

xcopy "c:\example\*.*" \\computer_name\"c$\example directory\example directory" /e /y

Due to restrictions can't just share a folder on the computer. The above command works locally but as soon as I try to do it across the network it falls over and say invalid drive specification.

I think it may be a permissions issue but not to sure. Can you specify a username/password in that command? If so, how?

Any help would be greatly appreciated!



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: November 30, 2005 at 01:21:40 Pacific
Reply:

1] I don't have a net so I'm not familiar with th \\. But if you map the drive you can:

xcopy "c:\stuff" "n:\mystuff\"

Notice that *.* is superfluous because the default is ALL [*.*]. And notice that if you include the trailing backslash on the destination you can avoid the stupid "file or directory" question.

HTH



If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: oldfogey
Date: November 30, 2005 at 11:55:03 Pacific
Reply:

The problem, I think, is that you are not correctly labelling the destination drive on the other PC.

The format I use for this is;

c:\windows\system32\xcopy c:\data\*.* \\Other_PC\Drive_Name\data /s/e/d/y

I put the switches on the end so that it only copies files that have a later date than on the destination drive.

the Drive_Name is whatever the destination drive is LABELLED.

Hope this helps


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: xcopy directory across network

how i share drive across network in xp www.computing.net/answers/windows-xp/how-i-share-drive-across-network-in-xp/20512.html

Time zones across network www.computing.net/answers/windows-xp/time-zones-across-network/28060.html

braodband across network www.computing.net/answers/windows-xp/braodband-across-network/102361.html