Jump to content

Replicating files to a network share


Maxim
 Share

Recommended Posts

Maxim,

In my opinion, this is kind of a hokey solution, but I just created a batch file using notepad withe following DOS command:

copy c:\testfile.txt c:\test2.txt

I saved the file as copytxt.bat, then created a scheduled task for it to run.

You should be able to do something similar in XP or 2003 Server. To create a scheduled task in XP, you go to Start, All Programs, Accessories, System Tools, Scheduled Tasks. When it asks what program to run, browse to your batch file, and then schedule it to run at the frequency you desire.

I realize you'll be doing this via a network share, but I suggest mapping a drive to the remote machine to make the dos command easier.

A more eloquent solution would involve a scripting language like PERL or VBScript, but this should work. The procedure should be relatively similar for 2003.

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy