# Batch Purge
[GstarCAD 2012](../../Index.md) → [User Guide](../%28User%20Guide%29.md) → [GstarCAD 2012 EX New Feature](%28GstarCAD%202012%20EX%20New%20Feature%29.md)
## Batch Purge (Batch Files Cleaning)
This new function allows to batch purge the excess objects such as blocks, layers, line type, dimension style or text style on several DWG files. Batpurge tool doesn’t need to open files. It executes the command of purge directly, which makes it run with very high efficiency. You can access from:
**Menu:** Express\>Drawing Tools\>Batch Purge
**Command Entry**:Batpurge
After started the command, the dialog box will display as shown picture below;

In this dialog box you can add, select, unselect, clean and start purging objects within DWG files with the follow options:
**Add Files:** You can add one or batch files from selected path.

**Add Folder:** You can add DWG files from selected folder.

**Select All:** You can select all the DWG files list at one.
**Select None:** You can unselect all the DWG files at once.

**Delete:** You can delete selected object(s) in the files list.
**Clear:** You can clean all the DWG file list at once.

**Start Purge:** Starts purging the DWG file list selected and it shows status bar completion during the execution. After purging, GstarCAD will generate a notepad file where you can see the purge detail.

**Log:** After purged operation is finished, you can Login in to a notepad file created and see the batch purge detail record.

---
GstarCADSoftware