Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Issue with FOLDERMONITOR Command or Help

Jun
762
16
The v34 help for FOLDERMONITOR includes the following:

1736892153196.webp


However, the "(include/exclude)" information does not appear.

Code:
[TCC34.00.16 | C:\temp]
>*foldermonitor . /I"*.pdf" created forever echo hello & *foldermonitor
C:\temp   created   (0/FOREVER)   echo hello
 
Checked with build 20 - seems all good there.
 
I'm running build 21 now, and the include/exclude specification is not included in the output.

Code:
>*foldermonitor . /i"*.btm" created 1 echo hello & *foldermonitor
C:\commands\bat   created   (0/1)   echo hello

Oh, I see that the help has changed. It no longer says that the "(include/exclude)" state will be reported.
 
A separate question: Is there any way to find out what files a running folder monitor is working with, i.e., the include and exclude specifications? I'm only beginning to make use of the FOLDERMONITOR command, but it strikes me as odd that the command can show one the running monitors, the directory each one is monitoring, what changes it is looking for, and what command it will run when those changes occur, BUT one cannot find out what files are included or omitted from the monitor.
 
At the time I created it, yes, but maybe not later. When I create a file, I know when I did it, but the DIR command shows the time. It was mainly an academic question. The help for FOLDERMONITOR originally showed that it reported the include/exclude information, suggesting that you originally intended to make that information available.
 
Back
Top