FolderMonitor for the 1st time not working

Jul 11, 2017
I wish to ping when the file "C:\Users\tomwa\OneDrive\Test1\Test01.txt" is modified.

In TCC I've typed:

foldermonitor "C:\Users\tomwa\OneDrive\Test1" /I "\Test01.txt" /U MODIFIED FOREVER 'ping'

Nothing happens when I modifiy Test01.txt

Must be a syntax error. Any help is appreciated.
May 20, 2008
Syracuse, NY, USA
I don't think it likes the space after /I or the single quotes around the command. Single quotes are nothing special to TCC. Even with /I fixed,


is an unknown command.
May 20, 2008
Syracuse, NY, USA
No quotes are needed on the command. TCC will use everything after FOREVER. You might have to escape sensitive characters.
Jul 11, 2017
I changed the command to msgbox yesno "Copy" Copy all files to A:?

No msgbox when I modify a file in the directory.

foldermonitor C:\Users\tomwa\OneDrive\Test1 /I\Test01.txt /U MODIFIED FOREVER msgbox yesno "Copy" Copy all files to A:?

foldermonitor command now shows:

C:\Users\tomwa\OneDrive\Test1 MODIFIED (0/FOREVER) msgbox yesno "Copy" Copy all files to A:?

Why won't it just monitor file Test01.txt? msbox will not display when modifying the file.
May 20, 2008
Syracuse, NY, USA
I think you need quotes around the file name. This is OK here.

Similar threads
Thread starter Title Forum Replies Date
twaterloo Foldermonitor Bugs? Support 6
vefatica FOLDERMONITOR: /= dialog creates malformed command Support 2
cgunhouse Foldermonitor Issue Support 7
C FOLDERMONITOR inactive with multiple /I Support 1
cgunhouse Foldermonitor with "/E" Option Issue Support 6
cgunhouse Foldermonitor with /W option Support 10
G FOLDERMONITOR created also firing for delete (and maybe other events) Support 7
vefatica Fixed FOLDERMONITOR causes crash Support 23
mikea FOLDERMONITOR confusions Support 7
cgunhouse Foldermonitor and iftp Support 1
T How to? Using FOLDERMONITOR 1 event causes multiple trigger(ing)s Support 8
Frank question to FOLDERMONITOR Support 14
S Log and foldermonitor problems Support 3
Steve Pitts FOLDERMONITOR missing events?? Support 7
J Still problems understanding "foldermonitor" Support 9
C Replace 1st argument on command line Support 4
H @XMLXPATH not working in v28 Support 5
Tim Rowe NTFS Descriptions not working Support 13
J Batcomp still not working for me in TCMD27 Support 1
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
M Why did BEEP just quit working? Support 12
cgunhouse SETLOCAL not working in BDEBUGGER Support 9
nickles ANSI Colors Windows 7 no longer working Support 6
K ANSI Not Working Support 8
thorntonpg option /u not working The directory name is invalid Support 5
Charles Dye Is the "File Associations" installer dialog working? Support 4
H @ceiling @floor @int not working version 21.01.63 Support 9
K Command Line Selection Not Working Support 12
G Extended directory search not working Support 4
B %@fileseek is not working ? Support 2
C "Take Command has stopped working" Support 1
H New command not working well in Windows 7 Support 4
C "TakeCommand has stopped working" Support 3
N ping DNS lookup not working Support 1
N Updater/silentall not working? Support 1
K Help Not Working Support 11
R Fixed set /r has stopped working in build 35 Support 4
U Keys and IDX not working Support 11
Jesse Heines How to? Everything Tool Not Working After Version 20 Installation Support 8
WavSlave Fixed LIST /U not working in TCC v19 Support 5
Jay Sage %_selected no longer working Support 15
S iftp copying pgp files from ftp is not working Support 11 Extended Directory Searches are not working for me in CDD Support 9
J How to set working directory Support 10
vefatica Fixed LEAVE N not working Support 7
P %date5 not working Support 6
M WAD PDir not working correctly... Support 5
Detlef Fixed ParameterChar in TCMD.INI no longer working Support 35
Jay Sage WAD Variable _LOGFILE Not Working Support 2
I v16 - Shortcuts not working Support 6

Similar threads