# SETVAR Command
[GstarCAD 2025](Help%20System/GSTARCAD/2025/Index.md) → [Commands](Help%20System/GSTARCAD/2025/Commands/(Commands).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.
---
**Related References:**
- [Commands about the Application Window](Help%20System/GSTARCAD/2025/Commands/Commands%20about%20the%20Application%20Window.md)
**Related Tasks:**
- [To Enter Commands](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Enter%20Commands.md)
- [To Enter System Variables on the Command Line](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Enter%20System%20Variables%20on%20the%20Command%20Line.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2025_en-US/detail/commandReferences/SETVAR.html) · © Gstarsoft Co., Ltd.