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

Jun
762
16
For the first time, I tried to put FOLDERMONITOR to use and encountered a problem. Alas, FOLDERMONITOR is another TCC function or command that does not recognize directory aliases, as illustrated below.

Code:
TCC33.00.20 C:\Users\Jay\Dropbox\scans>foldermonitor scans: created forever echo File created
TCC: (Sys) The filename, directory name, or volume label syntax is incorrect.
 "scans:"

Again, I had to fix this by using the @FULL function to resolve the directory alias.

Code:
TCC33.00.20 C:\Users\Jay\Dropbox\scans>foldermonitor %@full[scans:] created forever echo File created

TCC33.00.20 C:\Users\Jay\Dropbox\scans>fm
C:\users\jay\dropbox\scans\   created   (0/FOREVER)   echo File created

I think that it is reasonable to expect that all TCC commands will recognize directory aliases for folders and file paths and hope that will be the case with version 34.

Also, would it be possible to add an option to edit a monitoring configuration? As things are now, one has to delete the monitor and then reenter it from scratch. Of course, I could write a script or alias to do this.
 
I think that it is reasonable to expect that all TCC commands will recognize directory aliases for folders and file paths and hope that will be the case with version 34.

We've had this discussion before. If you want that feature in specific commands, please post it in the Suggestions Forum. There is no way to enable it globally for every TCC command / function / feature.

Also, would it be possible to add an option to edit a monitoring configuration? As things are now, one has to delete the monitor and then reenter it from scratch. Of course, I could write a script or alias to do this.

Not possible unless you delete it first (Windows API behavior, not TCC).
 
Back
Top