# WBLOCK Command Line
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [W](%28W%29.md)
**Function Description:**
> Write objects or a block to a new drawing file
**Command Entry:**
> -WBLOCK
>
> When system variable FILEDIA is 0, entering
> -WBLOCK or -W at the Command prompt, the following prompt is displayed
**Command Prompt:**
> File Name for New Drawing/Block:
> Enter to Select objects\[\& to include multiple blocks/\* for all entities/Block to save as WBlock\]:
>
> **Select Objects:** Write selected objects to a new drawing or block.
>
> Insertion point:
>
> Select objects for wblock:
>
> **Select Multiple Blocks:**Write specified block to a new drawing file.
>
> Blocks to save:
>
> **Select All Entities:** Write all entities in current drawing to a new drawing or block.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/W/WBLOCK%20Command%20Line--bf6aa991dbdb.md)