Anyone know a FileWatcher Utility for XP?

Posted on 2006-04-21
Last Modified: 2008-02-01
Does anyone know of a free or low cost FileWatcher utility or service for XP?  What I want to do is automate a process so that when a new file is detected in a certain directory, then a .cmd file will startup to process the file.  I'm looking for a packaged solution, not advice on how to program it myself in .NET or whatever.  
Question by:dqmq
    LVL 24

    Expert Comment

    Probably the easist way would be a simple batch file that runs your command, and you schedule the batch file to run every 30 minutes or whatever you want.

    The batch file could be as simple as....

    IF EXIST filename.ext command
    LVL 42

    Author Comment

    Sorry, need an immediate response.  Would need to make the batch file run continously looping on the "IF exists" test.  Seems like it would consume the machine resources. Would prefer something that is event-driven.
    LVL 19

    Expert Comment

    You could always download sleep.exe if you want it to check more regularly. It pauses a batch file for the specified number of seconds. Even a sleep of 1s would mean resource use would be practically zero.

    sleep 5
    if not exist file.ext goto start
    your command to process file
    goto start
    LVL 16

    Accepted Solution

    RoboTask :
          First, you must decide what actions you want to accomplish.
            You can select built-in actions in RoboTask to accomplish the following:  
          ·      Run applications.  
          ·      Open or print documents.  
          ·      Emulate your keystrokes.  
          ·      File and folder processing (copy, move, delete, rename, synchronize folders).  
          ·      Work with FTP servers (download, upload, rename, delete).  
          ·      Work with e-mail (check for e-mail, send e-mail).  
          ·      Work with ZIP files (pack files, extract files).  
          ·      Work with windows (focus, maximize, minimize, restore, close, hide, unhide).  
          ·      Flow control (if-then, file loop, text loop, dataset loop, and so forth).  
          Triggering events  
          A triggering event can be one of the following:  
          ·      A specific time  
          ·      When something happens on your computer.  

    Hope this helps.
    LVL 42

    Author Comment

    Exactly what I wanted.
    LVL 16

    Expert Comment

    Glad i've helped :)
    Thanks for the points and the grade.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article ( first and run the tool TDSSKiller ( to get rid of the infection. Once done, and if the …
    We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now