- Jan
- 4
- 0
I have a btm file where I do an update of my agenda file, after which I call a btm file to start the program
Like this
echo off
pause voor bijwerken agenda controleer Thuisnetwerk actief?
dir e:\Agenda-synchro\
pause
Iff exist e:\Agenda-synchro\agendavlag-PCBeneden-W7 Then
echo Agenda bijwerken!
msgbox yesno "Agenda" Agenda bijwerken ?
set antwoord=%_?
echo %antwoord
iff %antwoord == 10 then
copy "e:\Agenda-synchro\calendar.cs0" "c:\Users\peter\AppData\Local\Duality Software\Calendarscope"
del "e:\Agenda-synchro\agendavlag-PCBeneden-W7"
goto 10
else
iff %antwoord == 11 then
echo Nee
goto 10
else
endiff
endiff
Endiff
:10
pause start agenda
call startagenda.btm
exit
---------------------
and in startagenda.btm I specified
"c:\Program Files (x86)\Calendarscope\csde.exe"
Now I expected that the first btm file should terminate, however it stays active, and I have to terminate it by hand.
What should I do to terminate itself automatically
Peter
Like this
echo off
pause voor bijwerken agenda controleer Thuisnetwerk actief?
dir e:\Agenda-synchro\
pause
Iff exist e:\Agenda-synchro\agendavlag-PCBeneden-W7 Then
echo Agenda bijwerken!
msgbox yesno "Agenda" Agenda bijwerken ?
set antwoord=%_?
echo %antwoord
iff %antwoord == 10 then
copy "e:\Agenda-synchro\calendar.cs0" "c:\Users\peter\AppData\Local\Duality Software\Calendarscope"
del "e:\Agenda-synchro\agendavlag-PCBeneden-W7"
goto 10
else
iff %antwoord == 11 then
echo Nee
goto 10
else
endiff
endiff
Endiff
:10
pause start agenda
call startagenda.btm
exit
---------------------
and in startagenda.btm I specified
"c:\Program Files (x86)\Calendarscope\csde.exe"
Now I expected that the first btm file should terminate, however it stays active, and I have to terminate it by hand.
What should I do to terminate itself automatically
Peter