Solved

Need to automate a process... simple?

Posted on 2004-09-28
4
209 Views
Last Modified: 2010-04-13
Hi,

Background info:  I have a win2k domain environment running AD.  

I have a machine that runs a program that delegates which of our transcriptionists are going to get which dictations from which doctors.  We like to store the sent dictations for a period of time in case we need to recover something periodically.  This folder can get rather large and cause disk space issues until it's purged.  The delegate program cannot be modified to put this "Out" folder on a different drive or network location.

So here's my question.  Can anyone help me come up with a way to automatically move this data from it's current location into a secondary location (secondary drive, network drive, etc...)

Example:  The folder is located at c:\program files\nch swift sound\expressdelegate\Out

The contents of that "Out" folder is what I'd like to have moved automatically either daily, say at login, or when the folder reaches a certain size, or ..... ?

Hope that made sense.  Thanks.

Mark
0
Comment
Question by:mark-wa
  • 2
4 Comments
 
LVL 76

Assisted Solution

by:David Lee
David Lee earned 250 total points
ID: 12172535
If you want to move the files at regular intervals (e.g. daily, hourly, etc.), then the easiest thing to do is to write a batch file and use the task scheduler to run it at whatever interval you see fit.  If you'd prefer running the move routine when the folder reaches a certain size, then I can provide you with the necessary code, either a script or program.  
0
 

Accepted Solution

by:
SHSUFLIGHT earned 250 total points
ID: 12174052
Put the following two lines into a file called copy.bat

cd c:\program files\nch swift sound\expressdelegate\Out
copy backup01.log  \\ip_address_of_other_computer\path\to\copy\to

then schedual this file to be run daily (start -->settings --> control panels --> schedualed tasks)
0
 

Expert Comment

by:SHSUFLIGHT
ID: 12174093
if you need to know how to create copy.bat, just go to start --> program files --> accessories --> notepad

this will open up a text editor, put the two lines into this editor then go to "SAVE AS" under "SAVE AS TYPE" make sure you change this value to "ALL FILES" then enter the name of "copy.bat" as the file name.

Once this is done, when you look up the file you created it should have an icon that looks like a windows folder with a blue border at the top.  If it has the icon of a text file then you forgot to change the save as type and should start over.

Good luck
0
 
LVL 13

Author Comment

by:mark-wa
ID: 12218988
Thanks to both of you.

Mark
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

770 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