Results 1 to 8 of 8
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Directory Monitor - File processor

    Here's what I'm searching for. I don't know if it already exists or not!

    I need a program, that will monitor a directory, for new files to be added, specifically, new text files. These text files, when found, need to be opened, and then saved (and closed) immediately.

    Does anyone know of a beast that does this?

    The OSes this is required for are Windows 2000, and possibly, WindowsXP.
    Christopher Baldrey

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Directory Monitor - File processor

    Can you clarify:
    "...new files to be added..."
    Do you mean "to be added" or "that have been added"?
    If the former, what dictates what files are to be added?
    If the latter, is this a list of files added to the folder/directory since the last time it was checked?

    Or am I barking totally up the wrong gumtree?

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Directory Monitor - File processor

    You might be able to do this with VBScript. I'm not sure how you put a little "delay" in the script so that the processor has time to breathe.

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Directory Monitor - File processor

    Sorry Leif... it's the latter.

    The software needs to monitor the folder for new files.

    What we have right now, is a process that spits out a text file, with payroll printing information. Currently, the file "as is" doesn't get to the step in the process, unless it is manually opened, then saved, and closed.

    What we're looking for, is an automatic solution that will take this brandnew text file, when it appears (or invoked by a mouse click), and make it ready for the next step.

    Make sense now... or am I still clear as mud?
    Christopher Baldrey

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Directory Monitor - File processor

    I'm using Frank Westlake's WaitDirChg program, but it's not entirely free of minor problems (it needs the /last_write parameter, and sometimes gives unexpected errorlevel 1's).

    I use it to monitor our internet mail gateway directory for the arrival of a new virus pattern file from the internet.

    Since I seem to be writing BATch files for a living, let me know if you want to see how I use it...
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Brantford, Ontario, Canada
    Posts
    2,391
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Directory Monitor - File processor

    Thanks John... I think that will get me on the right track.

    And to you Jefferson, I was thinking along the lines of a VB app. I'll investigate that as well.

    Of course, any more suggestions are welcomed!
    Christopher Baldrey

  7. #7
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Directory Monitor - File processor

    I've not tried this myself, but just spotted a reference to it:

    "<A target="_blank" HREF=ftp://ftp.simtel.net/pub/simtelnet/win95/fileutl/monidir1.zip>MoniDIR 97</A> is a <img src=/S/free.gif border=0 alt=free width=30 height=15>ware folder/file utility for Windows 95. It watches up to 5 different directories looking for new, changed or delete files. As soon as a change happens an alarm will sound with a list of the affected files. Fits into the system tray. User can adjust the time interval and the alarm file."

    Might be of use.

    Alan

  8. #8
    5 Star Lounger
    Join Date
    Nov 2001
    Location
    Jerusalem, Israel
    Posts
    708
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Directory Monitor - File processor

    http://linkURL try this possibly:

    Directory Monitor Utility 1.6




    Publisher : Gibin Software House


    File system changes monitoring utility for Windows NT/2000/XP. It allows to select the folder and to customize the monitoring settings for specified folder (the event list to process and some other options). The program can also monitor changes in subfolders if necessary. This program can work in background and generates the HTML log of file system changes. The program can be integrated into shell (setup creates the 'Monitor' context menu item and GiPo@Utilities file/folder property page).
    http://www.lencom.com/desc/indexN17845.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •