Command to copy fiile from one server to another:
set path=c:\WINDOWS\system32;
echo Copying started at %date% %time%>>_date_.txt
xcopy file://devsql2000/Datafiles/CRM/CRMXMLFile.xml file://dbnew/Datafiles/CRM/CRMXMLFile.xml /s /a /d
echo Copying finished at %date% %time%>>_date_.txt
echo Completed Successfully at %date% %time%>>_date_.txt
echo --------------------------------------------------------------------------- >>_date_.txt
set path=c:\WINDOWS\system32;
echo Copying started at %date% %time%>>_date_.txt
xcopy file://devsql2000/Datafiles/CRM/CRMXMLFile.xml file://dbnew/Datafiles/CRM/CRMXMLFile.xml /s /a /d
echo Copying finished at %date% %time%>>_date_.txt
echo Completed Successfully at %date% %time%>>_date_.txt
echo --------------------------------------------------------------------------- >>_date_.txt
No comments:
Post a Comment