Downloads |
---|
popup.zip |
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. If this program is run under the SYSTEM account (i.e. ATSVC) the window will be displayed on the default desktop (even if no user is logged on) but the HELP button will not be available. ERRORLEVEL: 0=Failure 1=OK 2=CANCEL 3=ABORT 4=RETRY 5=IGNORE 6=YES 7=NO EXAMPLES: DIR | PopUp PopUp /OKC /B2 /IQ /T:CHOICE /M:"Format C:?" /HF C:\help\format.txt IF ERRORLEVEL 2 GOTO :NOFORMAT
0 comments
Hide comments