RealtimeSync triggers repeated execution

Get help for specific problems
Posts: 2
Joined: 17 Feb 2011

nosbischs

I'm having trouble with RealtimeSync repeatedly retriggering itself in a
perpetual look. I have RealtimeSync setup to watch two folders and launch a
.bat file when triggered. The .bat file then sequentially launches multiple
.ffs_batch files stored in the same folder. The RTS command line was:
C:\Users\nosbischs\Desktop\FileSyncSettings\Users\nosbischs\Batches\BG_office\
RunAll_ffs_batchFiles.bat
All worked fine until I changed it to:
cmd /c start "" "%USERPROFILE%\Desktop\FileSyncSettings\Users\%USERNAME%\Batch
es\BG_office\RunAll_ffs_batchFiles.bat"
I did this because I distribute this same .ffs_real file to multiple users and
wanted to use environment variables. The problem is now the RTS is continually
retriggering itself. Any ideas?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Use "start /wait", this will ensure the call executes synchronously.