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



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
 
Gert
YaBB Administrator
*****
Offline



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

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).

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1