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
Use .bat variable in email (Read 2466 times)
BillHouse
YaBB Newbies
*
Offline



Posts: 1
Use .bat variable in email
Oct 20th, 2005 at 6:22pm
 
Using the Automatically send email notification feature when files show up in a certain directory. Trying to also use the additional variable available in the bat file pluging to tell me the file size in KB. Can't seem to get it to work.

Below is what is in the body of my e-mail:

There is a new file on pcname called: $FN$, %WD_FILE_SIZE_KB%
$DT$ $TM$
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Use .bat variable in email
Reply #1 - Oct 21st, 2005 at 8:33am
 
Thanks for the report, I am able to reproduce it (wd_file_size, wd_file_size_kb, wd_shortpath and wd_shortname seem to be affected).
I'll look into it, and probably have a fix available next week (monday).

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



Posts: 2224
The Netherlands
Re: Use .bat variable in email
Reply #2 - Oct 23rd, 2005 at 5:42pm
 
This is fixed in today's 4.0.37 release.

It was caused because WD was looking for WD_FIlE_SIZE (note the lowercase L).

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