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 – Get Filenames & Timestamps ShowBatch file – Get Filenames & Timestamps Issue Solution Note Issue Can anyone help me create a batch file that will display all the files, subfolders and files under subfolders of folder with both date created and date modified then...
[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...
What is a batch file? ShowWhat is a batch file? Creating a batch file Prerequisites Create file Windows comes with a version of DOS, which allows you,exploiting the features and the sequence of commands in a script. Batch file, is a simple text file (ascii)...
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
  • +14

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
  • +8

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