A batch file to copy files from one system to another

October 2017




Issue


I have two systems ,one is domain member and other is workgroup computer.Now I want to shedule copy command for copying one file on daily basis from workgroup computer to domain member computer.

It is possible with batch file?

Workgroup computer Name :-hisserver
user :administrator
password :hisserver


Domain Member :hisbackup
user : administrator
Password:*healthbackup

Solution


Try this:
xcopy directory [destination-directory] 


Thanks to getsugatenso for this tip.
Published by aakai1056. Latest update on June 13, 2012 at 10:36 AM by aakai1056.
This document, titled "A batch file to copy files from one system to another," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).