Solved

Need to automate a process... simple?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

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…
A procedure for exporting installed hotfix details of remote computers using powershell
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now