AutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Keep track of what you’ve done with COPYHIST

Thanks to Tommy Holden for this tip.

AutoCAD allows you to copy the command line history window to the clipboard by using the COPYHIST command. The command line history is the window just above the command line. This way you can keep track of previous commands already executed in case you want to:

  • Repeat what you did
  • Not repeat what you did
  • Just see what you did

After typing COPYHIST and pressing Enter, simply go to another Windows application and paste in the information.

COPYHIST is also a useful tool for troubleshooting.

Here’s a sample.


Do you use COPYHIST? What do you use it for?

Ellen Finkelstein

4 comments to Keep track of what you’ve done with COPYHIST

  • neil jones

    I do use this now……ideal for copying Bounded Volumes from Civil 3D

  • Dan

    Thanks Neil,

    This is very useful, – thanks for posting it.

    I still wish you could double-click or triple click in the text window to highlight portions of the text like any other windows text based software.

    I guess I’ll have to put it in the wishlist again sometime.


  • Duc Tran

    Why don’t you just press [F2]

  • Tommy Holder

    Granted F2 will provide the visual history of commands for the drawing open keeping in mind that Expert system variable varies what is returned for user prompts.

    Some users like to copy a history of what was entered. I would think in a case where a user had issues or wanted to share steps used to draw objects they may use Copyhist and provide that info to them. Copyhist is a quick way to get this copied to the paste buffer.

    Another way to save imput and replies from AutoCAD is to set ‘Maintain a Log File’. You get a history of everything saved to a setting location set in ‘Options / files / Log File Location’ saved by the drawing name. System variable ‘LOGFILEPATH’ and commands LOGFILEMODE, LOGFILEON, and LOGFILEOFF aid setting these from the command line.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>