How to copy a file from 1 pc to another pc in network using batch file

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 279
    Windows 7 Ultimate x64
       #21

    abbynard said:
    i got this error...
    And thats because you didnt share your E:\ Drive first
      My Computer


  2. Posts : 881
    Windows 7 Ultimate x64
       #22

    If you dont want to setup the share we can still attempt to access it via the hidden share E$
      My Computer


  3. Posts : 18
    Windows 7 Professional 32bit
    Thread Starter
       #23

    i went into the file and click properties... the Location is...

    E:\Online Games\Battle of Immortals\Battle of the Immortals

    The folder Battle of Immortals is already shared and its network path is \\ABJANINE35\Battle of Immortals
    The folder Online Games is already shared and its network path is \\ABJANINE35\Online Games
    The drive itself is already shared and its network path is \\Abjanine35\e
      My Computer


  4. Posts : 881
    Windows 7 Ultimate x64
       #24

    Go to an explorer and verify that you can access \\ABJanine35\Battle of the Immortals

    If you can then use this command string.

    robocopy "E:\Online Games\Battle of Immortals\Battle of the Immortals" "\\ABJanine35\Battle of the Immortals" /e /mir

    That was 100% my fault it didn't work sorry about that.
      My Computer


  5. Posts : 18
    Windows 7 Professional 32bit
    Thread Starter
       #25

    i went to an explorer and accessed \\ABJanine35\Battle of Immortals
    i tried to copy and paste
    robocopy "E:\Online Games\Battle of Immortals\Battle of the Immortals" "\\ABJanine35\Battle of the Immortals" /e /mir
    and run it to ABJanine34.... it wont work
      My Computer


  6. Posts : 881
    Windows 7 Ultimate x64
       #26

    Can you post the error message again?

    Also like i said before it would be better to accomplish the if you only replace the files that you need to replace.

    Do you know what files you need to keep updated?
      My Computer


  7. Posts : 18
    Windows 7 Professional 32bit
    Thread Starter
       #27

    when i run the batch file the command prompt will open and close in a blink of an eye
      My Computer


  8. Posts : 881
    Windows 7 Ultimate x64
       #28

    are you running this as a batch file? or just a command?

    If its a batch file add a new line and place the word pause
      My Computer


  9. Posts : 18
    Windows 7 Professional 32bit
    Thread Starter
       #29

    pause
    robocopy "E:\Online Games\Battle of Immortals\Battle of the Immortals" "\\ABJanine35\Battle of the Immortals" /e /mir

    yes im running it as a batch file
      My Computer


  10. Posts : 881
    Windows 7 Ultimate x64
       #30

    you want to say

    robocopy "E:\Online Games\Battle of Immortals\Battle of the Immortals" "\\ABJanine35\Battle of the Immortals" /e /mir

    pause


    -edit-

    If you want a log file to make sure the command was successful. you change the command to look like this.

    robocopy "E:\Online Games\Battle of Immortals\Battle of the Immortals" "\\ABJanine35\Battle of the Immortals" /e /mir /log:Copy_Battle_log.txt

    This will create a text file that logs your robocopy command. It will be in the same folder as the batch file.
      My Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:45.
Find Us