Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

14 Jan 2013   #21
mmkarimi

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by abbynard View Post
i got this error...
And thats because you didnt share your E:\ Drive first


My System SpecsSystem Spec
.
14 Jan 2013   #22
Parman

Windows 7 Ultimate x64
 
 

If you dont want to setup the share we can still attempt to access it via the hidden share E$
My System SpecsSystem Spec
14 Jan 2013   #23
abbynard

Windows 7 Professional 32bit
 
 

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 System SpecsSystem Spec
.

14 Jan 2013   #24
Parman

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
14 Jan 2013   #25
abbynard

Windows 7 Professional 32bit
 
 

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 System SpecsSystem Spec
14 Jan 2013   #26
Parman

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
14 Jan 2013   #27
abbynard

Windows 7 Professional 32bit
 
 

when i run the batch file the command prompt will open and close in a blink of an eye :-)
My System SpecsSystem Spec
14 Jan 2013   #28
Parman

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
14 Jan 2013   #29
abbynard

Windows 7 Professional 32bit
 
 

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 System SpecsSystem Spec
14 Jan 2013   #30
Parman

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Batch file to copy files from C drive to USB
Hi all, To increase our backup solutions, we have decided to backup our SQL database every hour to a folder within the C drive (we couldn't get it to backup straight to a USB drive). So now we need a way (batch file best solution?) to copy these files to the USB drive, lets say every 1.05hours...
Backup and Restore
Windows7 Batch File Copy Possible?
Fellow Forum Members, I have two external hard drives I'm calling Hard Drive A and Hard Drive B. Hard Drive A & B are mounted to external USB cradles. Both USB cradles are connected to the same PC containing Hard Drive C. My objective is to transfer all data files, folders, sub folders from both...
Performance & Maintenance
Batch file copy made easy
Lately I've noticed a lot of new Windows users don't really know how powerful command line tools Windows 7 includes. Here's one, making batch file copy easy and almost automated: Robocopy. To use it, just open the command prompt and type robocopy /? to get all the options. Here's the summary in...
Performance & Maintenance
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
Creating Batch File with Robo Copy
Hi I am currently running the following to supposedely create a directory IE V:\Backup Folder\Pictures\Backup 21-05-2012 robocopy /e "c:\users\jon\pictures" "v:\Backup Folder\Pictures\Backup %date:~-10,2%-%date:~-7,2%-%date:~-4,4%" Evrything works fine except the backed up pictures folder is...
General Discussion
batch file to copy from virtual machine to USB
If C:\ is the root of the virtual machine and U:\ is the USB stick, I can PERFORM "copy C:\folder\** U:\folder", but that line in a batch file does not work. How can I fix that ?
Virtualization


Our Sites

Site Links

About Us

Find 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 02:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App