• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Anyone know a FileWatcher Utility for XP?

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.  
1 Solution
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
dqmqAuthor Commented:
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.
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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.
dqmqAuthor Commented:
Exactly what I wanted.
Glad i've helped :)
Thanks for the points and the grade.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now