Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2004
    Posts
    660

    Unanswered: 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.
    Last edited by yyu; 11-09-05 at 14:26.

  2. #2
    Join Date
    Feb 2004
    Posts
    10
    Other than you may want a batch file (*.bat) rather than *.dat that should work./..what is the problem? Is there an error?

  3. #3
    Join Date
    Mar 2004
    Posts
    660
    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?
    Last edited by yyu; 11-09-05 at 15:19.

  4. #4
    Join Date
    Feb 2004
    Posts
    10
    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

  5. #5
    Join Date
    Mar 2004
    Posts
    660
    How can i make copy that the source folder name has a space.
    E.g, XCOPY \\ServerName\Users\Y Yu

    Many thanks.

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Code:
    XCOPY "\\ServerName\Users\Y Yu"
    -PatP

  7. #7
    Join Date
    Mar 2004
    Posts
    660
    Thanks. i got it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •