# COPYHIST Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [C](Help%20System/GSTARCAD/2022/Commands/C/(C).md) ## Function Description: This command is used to copy the text in the command line history to the Clipboard. ## Command Access: > **Icon:** / > **Menu:** / > **Ribbon:** / > **Toolbar:** / > **Command:** COPYHIST > **Alias: /** **Command Prompts: /**