Hi there,
I am new to TCC and I especially focus on the "foldermonitor" function but having problem with the syntax when including multiple commands (only one command allowed with the function) with an "&" in the parentheses below:
foldermonitor /s "C:\Users\Gappe\Documents\My Dropbox\demo_local\inboxes" modified created 2 (set inbox_directory=%%_foldername & set inbox_file=%%_folderfile1)
echo %inbox_directory
echo %inbox_file
When executing the row and copying a file to the monitored folder I get the following error message:
[C:\Program Files\JPSoft\TCMD12]TCC: C:\Users\Gappe\Documents\TCC batfiles\Test foldermon
itor folderfile1 copy.bat [4] Unbalanced parentheses "(set inbox_directory=%_foldername
& echo %inbox_file "
I have not figured out how to solve this. Have tried many different alternatives (e.g. separate parentheses for both "set" commands etc) but it does not seem to solve the problem. Any suggestions? Help appreciated!
Furhtermore - where can I find a manual (not the help file)?
Best regards Jan
I am new to TCC and I especially focus on the "foldermonitor" function but having problem with the syntax when including multiple commands (only one command allowed with the function) with an "&" in the parentheses below:
foldermonitor /s "C:\Users\Gappe\Documents\My Dropbox\demo_local\inboxes" modified created 2 (set inbox_directory=%%_foldername & set inbox_file=%%_folderfile1)
echo %inbox_directory
echo %inbox_file
When executing the row and copying a file to the monitored folder I get the following error message:
[C:\Program Files\JPSoft\TCMD12]TCC: C:\Users\Gappe\Documents\TCC batfiles\Test foldermon
itor folderfile1 copy.bat [4] Unbalanced parentheses "(set inbox_directory=%_foldername
& echo %inbox_file "
I have not figured out how to solve this. Have tried many different alternatives (e.g. separate parentheses for both "set" commands etc) but it does not seem to solve the problem. Any suggestions? Help appreciated!
Furhtermore - where can I find a manual (not the help file)?
Best regards Jan