Solved

Need to automate a process... simple?

Posted on 2004-09-28
4
211 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualise server 2000 for Hyper V 4 861
Windows 2000 Print Server 2 1,058
Windows Foriegn Disk 3 140
Repair old Windows 2000 boot 15 243
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…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.

679 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