# AUDIT Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md)
**Function Description:**
This command is used to check the integrity of a drawing and correct some errors.
**Command Access:**
> **Icon:** 
> **Menu:** File > Drawing Utilities > Audit
> **Ribbon:** /
> **Toolbar:** /
> **Command:** AUDIT
> **Alias:** /
**Command Prompts:**
```
Fix any errors detected? [Yes/No] <N>:
```
For convenient visiting, the AUDIT command places all objects with error reports in "last" selecting set, this will have effect on editing objects in current drawing or model space.
Choose "Yes" to check the file and fix any errors that are found automatically. Choose "No" to check the file only.
If the AUDITCTL system variable is set to 1, the AUDIT command creates a text file to describe the problem and measures taken, and saves the text file to the same folder as the audited drawing with a file extension of .adt.
If there are some errors the AUDIT command could not fix, users can use the RECOVER command to retrieve drawing and modify.
---
**Related References:**
- [Commands about Repairing Damaged Drawings (GstarCAD 2026)](../../2026/Commands/Commands%20about%20Repairing%20Damaged%20Drawings.md)
**Related Concepts:**
- [About Repairing a Damaged Drawing File (GstarCAD 2026)](../../2026/Commands/About%20Repairing%20a%20Damaged%20Drawing%20File.md)
**Related Tasks:**
- [To Repair a Damaged Drawing File (GstarCAD 2026)](../../2026/Commands/To%20Repair%20a%20Damaged%20Drawing%20File.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/AUDIT.html) · © Gstarsoft Co., Ltd.