COPYHIST command

Copies all text from the Command line history to the Clipboard.

Note: The ScrlHist system variable determines how many lines of command history the Prompt History window retains.