Solved

Need to automate a process... simple?

Posted on 2004-09-28
4
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 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