Gert wrote on Sep 7
th, 2010 at 12:28pm:
For "Run a bat file", make sure you have the option
those files have names like 12345_6789.log
To explore the task-directory, select the menu Tools -> Explore task directory. Good chance you will see error messages in the log files.
The output of the log files is absolutely the same whether WD runs as a service or not:
Code:E:\WatchDirTest>GOTO :StartOfBat
E:\WatchDirTest>"D:\WA\WatchDirectory\wdAnnotate.exe" info "Starting E:\WatchDirTest\RunTest.bat for event"
E:\WatchDirTest>Call "E:\WatchDirTest\RunTest.bat" FILENEW
E:\WatchDirTest>D:\TESTDIR\TESTPROG.EXE
E:\WatchDirTest>"D:\WA\WatchDirectory\wdAnnotate.exe" info "Done"
However, when running as a service, "D:\TESTDIR\TESTPROG.EXE" (which is the only line in RunTest.bat) does not get executed, otherwise it does (three times actually, and three log files, even though only one file gets dropped into the monitored directory)
puzzled...
hp