copying files over network via command line

  • Thread starter Thread starter yawnmoth
  • Start date Start date
Y

yawnmoth

Say I have a computer that, through Windows Explorer, I can access by
\\computer. Without mapping it to an actual drive letter, I'd like to
copy a file to \\computer\upload. The following didn't work:

copy filename.ext \\computer\upload

Any ideas as to what will?

The reason I'm trying to do this is because I'd like to schedule a
weekly backup of a particular file. ie. I'd like a copy of this file
to be sent over to another computer every week. If the above method
isn't the best, what would be? (also, even if it weren't the best, I'd
still, for curiosities sake, like to know how to do the above)
 
Say I have a computer that, through Windows Explorer, I can access by
\\computer. Without mapping it to an actual drive letter, I'd like to
copy a file to \\computer\upload. The following didn't work:

copy filename.ext \\computer\upload

Any ideas as to what will?

The reason I'm trying to do this is because I'd like to schedule a
weekly backup of a particular file. ie. I'd like a copy of this file
to be sent over to another computer every week. If the above method
isn't the best, what would be? (also, even if it weren't the best, I'd
still, for curiosities sake, like to know how to do the above)

Try xcopy. Type "xcopy /?" for details.
 
Back
Top