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
Dont create c:\temp\logfile (Read 3462 times)
alfon
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Dont create c:\temp\logfile
Nov 3rd, 2004 at 10:42pm
 
hello:

this is my first day using WatchDirectory and I'm trying to execute a BAT file called WDReportEvents.bat. but it doesn't create the file, can you help me with this? ???

Thanks a lot!!!
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Dont create c:\temp\logfile
Reply #1 - Nov 3rd, 2004 at 11:52pm
 
Hello Alfon,

I just tested it again here and it works fine.
Please make sure to remove the first line from the .bat file as instructed in the comments.

Also, if you didn't change those options, the actual file created will be named c:\temp\logfile_20041103.CSV

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
 
alfon
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Re: Dont create c:\temp\logfile
Reply #2 - Nov 4th, 2004 at 12:32am
 
Cry i tried what u told me, but it still doesnt work.  perhaps its because its a demo....??  Cry
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Dont create c:\temp\logfile
Reply #3 - Nov 4th, 2004 at 12:37am
 
No, it should work...

Can you send me the .bat file you use? Please ZIP it, otherwise it will be blocked by our server.

Also, on watchDirectoryStart (the program to configure watchDirectory), press CTRL+F5 to copy all info to the windows clipboard. Then paste (CTRL+V) into the email message. Send it to support@ gdps.dk
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: 2225
The Netherlands
Re: Dont create c:\temp\logfile
Reply #4 - Nov 4th, 2004 at 11:53am
 
Quote:
Please make sure to remove the first line from the .bat file as instructed in the comments.

This turned out to be not 100% correct. All example .bat files start with the following lines of code:
Code:
MBox.exe "Please change the settings of this bat-file" "before running it!" -caption "Sample bat-file" -icon ! -type ok
goto :EOF
@echo off
 


This will cause a messagebox ('popup' window) to inform you that you should edit the .bat file before you use it. All .bat files have some specific settings that need to be changed to function properly. The second line above (goto :EOF) causes the .bat file to quit.

So, in my original reply, I should have told to remove the first 2 lines from the .bat file.

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