A batch file to copy files from one system to another

December 2016




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.

Related :

This document entitled « A batch file to copy files from one system to another » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.