Command Prompt for Windows




Command ISENABLED

Function:

Determine whether an item is enabled or disabled. The state of the item is stored in an environment variable called ISENABLED.

Syntax:

ISENABLED dlg_id [id]
dlg_idSpecifies the identifier of the dialog box that contains the item.
idSpecifies the identifier of the item.

Note:

A return value of 0 indicated that the item is disabled and a value of 1 indicated that the item is enabled.

The state of all types of items may be determined.

When parameter id is not specified then the state of dialog box is determined.

Also see command ENABLE.