A batch file to copy files from one system to another

Ask a question



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.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team