[GLLUG] Windows version of "dialog"

Michael Malinak mm@crushedice.com
Thu, 28 Mar 2002 16:00:01 -0500


I missed the meeting, is there something you wanted it to be able to do
otherwise?

----- Original Message -----
From: "Brian Hoort" <hoortbri@msu.edu>
To: <linux-user@egr.msu.edu>
Sent: Thursday, March 28, 2002 2:17 PM
Subject: [GLLUG] Windows version of "dialog"


> At the meeting I mentioned a Windows utility that approximated the
> functionality of 'dialog'. It is called msgbox.exe and I got it off the
net
> somewhere. My second comment, that it cannot handle user input other than
> buttons appears to be accurate.
>
> I'll post it to the list if that's acceptable -- is that frowned upon
here?
> It's a tiny program (54KB). Usage below:
>
>
> MSGBOX release 1.1  - Prompt for an answer and set errorlevel
> Copyright 1995-1998 by David G. Thomas.
>
> Usage: MSGBOX flags "title" prompt_string ...
>
> Flags:
>          /?      Help (this screen)
>
>          /BARI   Buttons: Abort/Retry/Ignore
>          /BO     Button:  OK
>          /BOC    Buttons: OK/CANCEL
>          /BRC    Buttons: Retry/CANCEL
>          /BYN    Buttons: Yes/No
>          /BYNC   Buttons: Yes/No/CANCEL
>
>          /Dx     Default is button #x (1, 2 or 3)
>          /F1     Send Console window to the foreground before input
>          /F2     Send Console window to the foreground after input
>          /H      Hide the console window during the prompt
>
>          /I!     Icon Exclamation
>          /II     Icon Information
>          /IQ     Icon Question
>          /IS     Icon Stop
>
>          /MA     Application Modal
>          /MS     System Modal (stays on top)
>          /MT     Task Modal
>
>          /Tn     Time out after n seconds
>
> prompt_string:
>          The rest of the line will be the prompt/message string.
>          If quoted then each quoted string will be on a separate line.
>
> Errorlevels returned:
>          1 = OK
>          2 = Yes
>          3 = Retry
>          4 = Ignore
>          5 = No
>          6 = Cancel
>          7 = Abort
>          8 = Time Out
>
>
>
>
> --
>    Brian Hoort
>    Agricultural Economics Computer Service
>    Michigan State University
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>