Code:
setlocal
comment
simplified Having trouble unsetting the msgbox_checkbox IV after batch has completed
endcomment
echo %_date %_time %_msgbox_checkbox
gosub test
echo %@time[%_time]
echo.
gosub test
echo %@date[%_date]
goto end
:test
: # I only want to see the msgbox once during the batch
: # remming next line seems to be the only way to rest it
if %_msgbox_checkbox == 1 return
msgbox /M /Pc /I /1 OK DONOTSHOWAGAIN "simple test" How to reset the internal varible^nRunning the...
Read more