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

    Unanswered: copy file automatically

    I need to copy files from one machine to another machine. It should be done automatically. Could you please give me a suggestion. I have no idea about this. It should write a script or program. But I have no idea yet,

    Thanks

  2. #2
    Join Date
    Apr 2004
    Posts
    101
    xcopy utility would help..

  3. #3
    Join Date
    Mar 2004
    Posts
    660
    Can you give me more detail about xcopy utility? Where is it? how can i learn it? Thanks in advance.

  4. #4
    Join Date
    Jun 2003
    Location
    Ottawa
    Posts
    105

    xcopy info:

    open a dos window.

    at the prompt type: help xcopy

  5. #5
    Join Date
    Mar 2004
    Posts
    660
    i try this in cmd command:
    C:\>xcopy c:YTEST \\Server25702\C:\YTEST1

    i want to copy the YTEST file to another machine (called Server25702). but it gave me a error message:
    Invalid drive specification
    0 File(s) copied

    What wrong with it, also i change Server25702 to IP address, it also gave me a same message. Can you help me again? Thanks.

  6. #6
    Join Date
    Sep 2004
    Posts
    3
    You have to map a drive to \\server25702\c:\ytest1 before you can use xcopy.

    So if you use the map command to map drive letter D - your syntax would be:

    xcopy c:\ytest d:\ytest


    Quote Originally Posted by yyu
    i try this in cmd command:
    C:\>xcopy c:YTEST \\Server25702\C:\YTEST1

    i want to copy the YTEST file to another machine (called Server25702). but it gave me a error message:
    Invalid drive specification
    0 File(s) copied

    What wrong with it, also i change Server25702 to IP address, it also gave me a same message. Can you help me again? Thanks.

  7. #7
    Join Date
    Mar 2004
    Posts
    660
    i try to use map drive, i type \\Server25702, it give me message, the network drive can't be found. Why? Thanks.

  8. #8
    Join Date
    Jun 2003
    Location
    Ottawa
    Posts
    105

    share

    you will need to share the drive on server25702

  9. #9
    Join Date
    Mar 2004
    Posts
    660
    Thanks, i got it.
    But after i copied, i found all the folder in the source file didn't copy to destination, Can this copy anything in the folder i selected to the destination?

    I am going to save it as .bat file, How can i use window to schedule it to run from Monday to Friday. Thanks.
    Last edited by yyu; 09-22-04 at 15:02.

Posting Permissions

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