JSI Tip 8367. PopUp freeware displays a messagebox with the given message and title.

Jerold Schulman

August 11, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today



Download PopUp to display a messagebox with the given message and title. Version 2 supports pipe input, file input, and a configurable help button.

The PopUp.txt file contains:

Version 2.0, Copyright (C)1998, (C)2002, Frank P. Westlake.Displays a message box with the specified information.PopUp [BUTTON SET]  [/B]  [/I[:E | I | Q | S]]  [/V]  [/T "Title"][/M[F] "String or file name"] [/H[F] "String or file name"]BUTTON SETS: /OK    OK button (default). /OKC   OK, CANCEL buttons. /ARI   ABORT, RETRY, IGNORE buttons. /RC    RETRY, CANCEL buttons. /YN    YES, NO buttons. /YNC   YES, NO, CANCEL buttons.OTHER SWITCHES: /B     Set default button to button number #. /H[F]  Help text to display if HELP button is pressed (not available in        SYSTEM account). F incicates that the text is a file name. /I     Display the indicated icon:        /IE=Exclamation, /II=Information (default), /IQ=Question, /IS=Stop. /M[F]  Message to display in PopUp window (F incicates a file name). /T     Title of PopUp window. /V     Display results to STDERR, error value to STDOUT.The icon switches in previous versions (/E, /I, /Q, /S) are still effective. Ifthis program is run under the SYSTEM account (i.e. ATSVC) the window will bedisplayed on the default desktop (even if no user is logged on) but the HELPbutton will not be available.ERRORLEVEL:0=Failure 1=OK  2=CANCEL  3=ABORT  4=RETRY  5=IGNORE  6=YES  7=NOEXAMPLES:  DIR | PopUp  PopUp /OKC /B2 /IQ /T:CHOICE /M:"Format C:?" /HF C:helpformat.txt  IF ERRORLEVEL 2 GOTO :NOFORMAT



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like