- Aug
- 258
- 4
I want to create a Foldermonitor to copy all new/changed files from the monitored folder to a different location. Example:
At this point I copy 10 files with a filemanager to d:\temp and this is what happens:
Oops.
I expected that all files are handled but not only 1 of them.
Did I misunderstand the approach of FOLDERMONITOR or did I do something wrong?
The doc is not very comprehensive.
Code:
c:\program files\jpsoft\tcmd14x64>ver
TCC 14.00.30 x64 Windows 7 [Version 6.1.7601]
c:\program files\jpsoft\tcmd14x64>foldermonitor
No folders/files are being monitored.
c:\program files\jpsoft\tcmd14x64>foldermonitor d:\temp\foldermonitor created modified forever copy "%%_foldername\%%_folderfile1" "c:\temp\foldermonitor"
c:\program files\jpsoft\tcmd14x64>foldermonitor
d:\temp\foldermonitor created modified (0/FOREVER) copy "%_foldername\%_folderfile1" "c:\temp\foldermonitor"
Code:
c:\program files\jpsoft\tcmd14x64>D:\temp\foldermonitor\KB2656368v2_20120613_182329222.html => C:\temp\foldermonitor\KB2656368v2_20120613_182329222.html
1 file copied
I expected that all files are handled but not only 1 of them.
Did I misunderstand the approach of FOLDERMONITOR or did I do something wrong?
The doc is not very comprehensive.