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
Send email (Read 2073 times)
syco1us
YaBB Newbies
*
Offline



Posts: 1
Send email
Sep 9th, 2009 at 7:01pm
 
I am using Watch Directory to monitor folders for events and them an email is sent out stating that something was posted to that folder.  Using $FN$ or %WD_FILE_SHORTPATH% I get a file name that comes up as \\(servername)-sysaid\SecureFTP\(filename)\Reports\2C02B2~1.PDF is there any way to shorten this file name down to exclude the server name?


Thank you in advance for your help.


I figured out what I was trying to do I added  %WD_RELDIR% to just give me the file name and the name of the doc posted.
Back to top
« Last Edit: Sep 9th, 2009 at 8:11pm by syco1us »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Send email
Reply #1 - Sep 10th, 2009 at 9:30am
 
Yes, I guess you need something like this
Code:
%WD_RELDIR%\%WD_FILE_N% 



You can use all variables listed here
http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html
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