Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1682

msgbox donotshowagain

$
0
0
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

Viewing all articles
Browse latest Browse all 1682

Trending Articles