Hello,
Could you please confirm that this batch file, launched as "Run before profile" together with the "Wait until the program has finished..." option, should make sure that the program (in this case Thunderbird) gets fully closed before the SyncBackSE profile begins?
I tried it, also with other programs, and it seems OK, but would like a confirmation.
Thanks.
@ECHO OFF
ECHO Chiusura Thunderbird prima di procedere...
TASKKILL /IM thunderbird.exe
REM Wait for a program to be finished
set PROGRAM_EXE_NAME=thunderbird.exe
:LOOP
TASKLIST | FIND "%PROGRAM_EXE_NAME%" >NUL
IF ERRORLEVEL 1 GOTO FINISH
TIMEOUT /T 1 >NUL
GOTO LOOP
:FINISH
Could you please confirm that this batch file, launched as "Run before profile" together with the "Wait until the program has finished..." option, should make sure that the program (in this case Thunderbird) gets fully closed before the SyncBackSE profile begins?
I tried it, also with other programs, and it seems OK, but would like a confirmation.
Thanks.
@ECHO OFF
ECHO Chiusura Thunderbird prima di procedere...
TASKKILL /IM thunderbird.exe
REM Wait for a program to be finished
set PROGRAM_EXE_NAME=thunderbird.exe
:LOOP
TASKLIST | FIND "%PROGRAM_EXE_NAME%" >NUL
IF ERRORLEVEL 1 GOTO FINISH
TIMEOUT /T 1 >NUL
GOTO LOOP
:FINISH