Allows the user to select either Yes or No within the message box rather than being limited only to an OK button. Allows the user to select either Yes, No, or Cancel when a message box is presented. When specified, -background allows the user to open an application and work in that application, without responding to the MessageBox. If this parameter is not used, the MessageBox remains the topmost window and the user must respond to the MessageBox before continuing with any other work. This runtime variable is required with the -yesno or -yesnocancel flag to produce a result for the -yesno or -yesnocancel flag. It is only used with the -yesno or -yesnocancel flag. An optional parameter, used only with the -yesno flag. When the -defaultno parameter is set, default focus goes to the No button instead of to the Yes button. The text to be displayed to the user. |