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