Sunday, February 19, 2012

how to copy file from server to pc

i have other question here, i would like to copy file from server to a PC. I create a script (.dat file):
xcopy \\serverName\Users\yyu
\\ComputerName\c\yyu
Can you guy help me? Many thanks.Other than you may want a batch file (*.bat) rather than *.dat that should work./..what is the problem? Is there an error?|||You are right, it should be .bat. Not .dat. Thanks. But i tried, but it gave me the network path was not found. That means it can't find the computerName. Can you help me again?|||The only other thing I can suggest is that your destination should have a '$' after the drive letter like this:

\\ComputerName\c$\yyu

If your server can't see your computer than you have a network issue rather than a database issue and you may want to find a forum for that type of problem|||How can i make copy that the source folder name has a space.
E.g, XCOPY \\ServerName\Users\Y Yu

Many thanks.|||XCOPY "\\ServerName\Users\Y Yu"-PatP|||Thanks. i got it.

No comments:

Post a Comment