Display a dialog box and wait for the dialog box to end. The exit code is stored in an environment variable called DLGSHOW.
DLGSHOW dlg_id parent_id
dlg_id Specifies the identifier of the dialog box to display. parent_id Specifies the identifier of a dialog box that owns the specified dialog box.
If parameter parent_id is 0 then the main WinOne® Command Prompt window owns the specified dialog box.
The specified dialog box must have been created using command DLGBOX before it can be displayed.