WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Count dump of files as 1 process (Read 2239 times)
YaBB Newbies

Posts: 1
Count dump of files as 1 process
Feb 13th, 2006 at 4:27pm
I am monitoring a folder for a dump of files to be printed.
I run a .BAT that processes them all in the required manner.
Unfortunately, watch runs the BAT 1x for each file...anyway around this?

Back to top
IP Logged
YaBB Administrator

Posts: 2260
The Netherlands
Re: Count dump of files as 1 process
Reply #1 - Feb 13th, 2006 at 7:57pm

There are several ways to do that, but the easiest would be to just let WD start your .bat for every file.

If you make sure all files are removed (or moved to another directory) after they are processed (printed), WD will not start your .bat file for those files that are already processed (exception: if you told WD to also monitor for deleted files, your .bat file will be started for the removed files).

Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1