Hi again,
Still having problem understanding "foldermonitor" amongst other:
1) When executing the bat file
foldermonitor /s "C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes" modified created forever `set inbox_directory=%_foldername & set inbox_file=%_folderfile1 & Call "C:\Users\Gappe\Documents\TCC batfiles\Subtest.bat"`
I get the following response when checking "foldermonitor" status:
[C:\Program Files\JPSoft\TCMD12]foldermonitor
No folders/files are being monitored
but "Subtest.bat":
echo %inbox_directory
echo %inbox_file
still produces result:
[C:\Program Files\JPSoft\TCMD12]echo C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes
C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes
echo Jan\Getting Started.pdf
Jan\Getting Started.pdf
2) Any other suggestion than "Call" to execute a series of commands on a "foldermonitor" trigger event? Goto/Gosub apperently do not work in a Command Group. It seems I need to save values of %_foldername and %_folderfile1 or otherwise they will be lost after executing the command in "foldermonitor". Also I have not found any way to split the command group `set inbox_directory=%_foldername & set inbox_file=%_folderfile1 & Call "C:\Users\Gappe\Documents\TCC batfiles\Subtest.bat"`into several lines amongst other for easier readability.
Apologies for lenghty explanation - new to this
Kind regards and hoping for a solution
Still having problem understanding "foldermonitor" amongst other:
1) When executing the bat file
foldermonitor /s "C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes" modified created forever `set inbox_directory=%_foldername & set inbox_file=%_folderfile1 & Call "C:\Users\Gappe\Documents\TCC batfiles\Subtest.bat"`
I get the following response when checking "foldermonitor" status:
[C:\Program Files\JPSoft\TCMD12]foldermonitor
No folders/files are being monitored
but "Subtest.bat":
echo %inbox_directory
echo %inbox_file
still produces result:
[C:\Program Files\JPSoft\TCMD12]echo C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes
C:\Users\Gappe\Documents\My Dropbox\Test_local\inboxes
echo Jan\Getting Started.pdf
Jan\Getting Started.pdf
2) Any other suggestion than "Call" to execute a series of commands on a "foldermonitor" trigger event? Goto/Gosub apperently do not work in a Command Group. It seems I need to save values of %_foldername and %_folderfile1 or otherwise they will be lost after executing the command in "foldermonitor". Also I have not found any way to split the command group `set inbox_directory=%_foldername & set inbox_file=%_folderfile1 & Call "C:\Users\Gappe\Documents\TCC batfiles\Subtest.bat"`into several lines amongst other for easier readability.
Apologies for lenghty explanation - new to this
Kind regards and hoping for a solution