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
How to monitor folder+subs -specific sub folder (Read 2537 times)
Bullweed
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
How to monitor folder+subs -specific sub folder
Aug 26th, 2004 at 3:17am
 
Hi I would like to know if it is possible to monitor a directory and all sub folders but someway exclude a specific subfolder (such as a log folder), for which you know that there would be constant changing of files and so forth.

This would be awesome information if it is possible.

Thanks,
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: How to monitor folder+subs -specific sub folde
Reply #1 - Aug 26th, 2004 at 3:44am
 
The current (and next 8) ) version of watchDirectory won't allow you to do so directly, but you can ignore those events inside your .bat files...

If You are monitoring C:\Monitor, and want to ignore every event inside C:\Monitor\Ignore, just add the following to your .bat file:
Quote:
IF /I "%WD_RELDIR%" == "Ignore" GOTO :EOF

The above line can be placed at the very beginning of your .bat file.
WD_RELDIR always contains the directory name relative to the monitored directory.
Good idea for a future version of WD, thanks.

Gert
Back to top
« Last Edit: Sep 3rd, 2004 at 3:44am by Gert »  

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



Posts: 2225
The Netherlands
Re: How to monitor folder+subs -specific sub folde
Reply #2 - Sep 17th, 2004 at 1:52pm
 
There will be a provision for this in the next release (to be released in the next few days - free upgrade for existing customers).

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