# SETVAR Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [S](Help%20System/GSTARCAD/2022/Commands/S/(S).md)
## Function Description:
This command is used to list or change the values of system variables.
## Command Access:
> **Icon:**
> 
> **Menu:** Tools \> Inquiry \> Set Variable
> **Ribbon:** Home \> Utilities \> Set Variable
> **Toolbar:** /
> **Command:** SETVAR
> **Alias:** SET
## Command Prompts:
Enter variable name or \[?\]:
## **Variable name**
Specifies the name of the system variable to be set. Users can also change the
system variable by entering its name and new value under the command prompt.
## **?**
Lists all system variables and their current settings in the drawing.