- Dec
- 236
- 2
If I run the following:
And if both A.btm is:
I get the following:
The "FolderMonitor /S c:\ MODIFIED 1 c:\JPSoft\Startup\A.btm 2" command fired but the "FolderMonitor /S c:\ /E"JPSoft\Logs\Errors.log" MODIFIED 1 c:\JPSoft\Startup\A.btm 1" command didn't fire but should have fired. It was "JPSoft\Logs\Commands.txt" that caused the monitors to fire and not "JPSoft\Logs\Errors.log", so both FolderMonitor commands should have fired. So far it appears that the "/E" option disables FolderMonitor, I have not been able to get anything to fire when using a "/E" option.
Any Ideas?
FolderMonitor /C
FolderMonitor /S c:\ /E"JPSoft\Logs\Errors.log" MODIFIED 1 c:\JPSoft\Startup\A.btm 1
FolderMonitor /S c:\ MODIFIED 1 c:\JPSoft\Startup\A.btm 2
FolderMonitor /S c:\ /E"JPSoft\Logs\Errors.log" MODIFIED 1 c:\JPSoft\Startup\A.btm 1
FolderMonitor /S c:\ MODIFIED 1 c:\JPSoft\Startup\A.btm 2
And if both A.btm is:
@echo Start Action %1
@echo %_foldercount
@echo %_foldername
@echo %_folderfile1
@echo Done Action %1
@echo %_foldercount
@echo %_foldername
@echo %_folderfile1
@echo Done Action %1
I get the following:
1
c:\
JPSoft\Logs\Commands.txt
Done Action 2
c:\
JPSoft\Logs\Commands.txt
Done Action 2
The "FolderMonitor /S c:\ MODIFIED 1 c:\JPSoft\Startup\A.btm 2" command fired but the "FolderMonitor /S c:\ /E"JPSoft\Logs\Errors.log" MODIFIED 1 c:\JPSoft\Startup\A.btm 1" command didn't fire but should have fired. It was "JPSoft\Logs\Commands.txt" that caused the monitors to fire and not "JPSoft\Logs\Errors.log", so both FolderMonitor commands should have fired. So far it appears that the "/E" option disables FolderMonitor, I have not been able to get anything to fire when using a "/E" option.
Any Ideas?