Improve company productivity with a Business Account.Sign Up

x
?
Solved

Need to automate a process... simple?

Posted on 2004-09-28
4
Medium Priority
?
225 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 1000 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 1000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
This article is about building a Route Based site to site VPN tunnels in Cisco CSR1000V router with IOS XE. There are two Route Based IPsec VPN tunnels configured on CSR1000V router, traffic from app server is with NAT and rest is without NAT.
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…
Watch the video to know the process of migration of Exchange or Office 365 mailboxes in absence of MS Outlook. It is an eminent tool which can easily migrate Public, Archive user mailboxes from one another Exchange server and Office 365. Kernel Migr…

589 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