How to check and set the system variables?

We can set system variables in the Options and Drafting Settings and other dialog boxes; the value for system variables can be changed through different commands.