Command Prompt for Windows



Set the caption of a dialog box or the text for a dialog box item.


SETTEXT dlg_id [id] "string"
dlg_idSpecifies the identifier of the dialog box that contains the item.
idSpecifies the identifier of the item.
stringA sequence of characters.


The text for any type of item (that has a caption or text) may be set. For example, a list box requires the use of the LBSET command to the current selection in a list box.

When parameter id is not specified then the caption of the dialog box is set to the specified text.

Also see command GETTEXT.