Search : in
By :

Batch file to copy file from one system to on

Last answer on Sep 2, 2009 5:32:30 pm BST vicky, on Jun 10, 2008 7:48:51 am BST 
 Report this message to moderators

Hello,

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

Configuration: Windows 2003
Internet Explorer 6.0

Best answers for « Batch file to copy file from one system to on » in :
Batch file ShowBatch file Settings File Creation DOS is integrated in windows which allow to exploit functionality and command sequence in a script. A batch file is a text file which contains command to be read by DOS. This file can be launched...
Command file with card system in Fortran90 ShowCommand file with card system in Fortran90 I. Introduction Fortran is a general-purpose programming language that is especially used for numeric computation and scientific computing. In a code, when digital data need to be...
[Batch File]Time based actions Show[Batch File]Time based actions Issue Solution Issue Upon creating a batch file you want that certain line of batch file is executed after every second (not all the program only certain line). In VB we can do it using the Timer...
FTP protocol (File Transfer Protocol) ShowIntroduction to FTP protocol FTP protocol (File Transfer Protocol) is, as its name indicates a protocol for transferring files. The implementation of FTP dates from 1971 when a file transfer system (described in RFC141) between MIT machines...

1

getsugatenso, on Jun 11, 2008 8:51:22 am BST
  • +12

Xcopy directory [destination-directory]

and then turn this into a .BAT file

Reply to getsugatenso

2

mudbrains, on Nov 13, 2008 10:48:53 am GMT
  • +7

Hi,

Please try the following batch command......





set path=c:\WINDOWS\system32;

echo Copying started at %date% %time%>>_date_.txt

xcopy E:\backup \\SERVER\BACKUP\others /s /a /d

echo Copying finished at %date% %time%>>_date_.txt

echo Completed Successfully at %date% %time%>>_date_.txt

echo --------------------------------------------------------------------------- >>_date_.txt

pause

Reply to mudbrains

3

ambrish, on Feb 5, 2009 2:03:28 am GMT

But how will the networ drive get mapped

what about username and password


regards
ambrish

Reply to ambrish

4

Mudbrains, on Feb 5, 2009 3:34:20 am GMT
  • +4

Hi,

No need to map the network, allow permission in the server backup directory for that domain user.

Thanks
JJ

Reply to Mudbrains

5

 Tom, on Sep 2, 2009 5:32:30 pm BST
  • +1

Ok, what if I wanted to Sync files from a Windows PC using an FTP Network Connection that has been defined and works just fine.

I want to use that connection to SYNC to a remote server.

I'd like to create a batch file that I can add to my Task Scheduler.

Reply to Tom