Solved

automatic copy

Posted on 2009-04-14
7
239 Views
Last Modified: 2012-05-06
Dear Experts,
i have a file in one server which i want to copy / transfer automatically to another server for some reason on regular basis . is there any way to do it . kindly give me detail steps if it possible.
thanks \khalid
0
Comment
Question by:khalidgaffar
7 Comments
 
LVL 13

Accepted Solution

by:
CrashDummy_MS earned 250 total points
ID: 24137751
On the server you want to transfer the file to click Start, Programs, accessories, system tools, Scheduled Tasks. Right-click in that window and click new, scheduled task, then give it a name. Double click it. In the Run box should be something like this:

copy /Y \\otherserver\share\filename.zip c:\folder\filename.zip

On the Schedule tab, set it to run as often as you want (daily, weekly, hourly, etc.)
Click OK, put in username & password, then right-click the task and click Run. Check to see if the file copied ok.

0
 
LVL 8

Assisted Solution

by:dkumar82
dkumar82 earned 250 total points
ID: 24138840
Use robocopy - and schedule it.
0
 

Author Comment

by:khalidgaffar
ID: 24144941
how can i use robocopy .. please give a detail step if possible.
thanks \khalid
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:SimonL-UK
ID: 24179250
If you want toi copy a file or files based on change, robocopy left permentantly running with the /MIR in conjunction with /MON or MOT switches will do what you require.
As an example, robocopy c:\folder1\ c:\folder2 *.txt /r:o /w:0 /mir /MON:1 will copy all text files from folder1 to folder2 when there has been 1 or more changes to the folder.

BTW, ensure your running version XP10 or higher of robocopy.
Microsoft provide a GUI for robocopy if your uncomfortable with the comand line

HTH

0
 
LVL 8

Expert Comment

by:dkumar82
ID: 24179506
Here is the download link for GUI version  - http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx

You can create a batch script using robocopy command line strings and put in you schedule interval, so that on that particular schedule it will transfer/copy/move  the file from source to destination
0
 
LVL 2

Expert Comment

by:techxperts
ID: 24381035
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PDC Time Server keeps moving back 1 hour 4 71
DELL POWEREDGE R720 - 2003 server compatible? 5 227
Installing OS on Poweredge 2800 Raid 1 97 45
Notebook Graphics performance. 5 56
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now