Solved

automatic copy

Posted on 2009-04-14
7
242 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

726 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