CMD: Copy/Paste between window and command console/DOS program

Contributor Icon Contributed by AlexTheBeast  
Tag Icon Tagged: Windows  

This tweak explains how to easily copy/paste information into or out of either the command console or a DOS program from a window.


As much as I use the command console, I never understood why windows made it so difficult to copy or paste information into it.

This recipe also works well for pasting information into a DOS program.

To enable QuickEdit Mode:

1. Open a command prompt/command console
2. Right-click on the title bar
3. Select properties
4. Select QuickEdit Mode
5. Select Save Properties for future windows with same title if you want to keep this change forever. Select Apply Properties for current window only if you only want to enable QuickEdit for this session.
6. Click OK

With QuickEdit Mode Enabled:

To Paste Information Into the Command Console:
1. Place information into the clipboard
2. Right click into the console to paste the information

To Copy Information From the Console into the Clipboard:
1. Click and drag to highlight the information in the console
2. Press Enter or Right Click in the console to put this information into the clipboard

 

12 Comments -


  1. shubhendu said on October 5, 2008

    hey man this tip helped me so much while runing scripts in ccmd
    thanks………….

  2. davak said on October 5, 2008

    Great! Glad we could help.

  3. dikshit said on November 25, 2008

    how can i copy / Paste my newfolder from c:/ to d:/ drive plz tell me .

  4. dikshit said on November 25, 2008

    how can i copy / Paste my newfolder from c:/ to d:/ drive plz tell me

  5. tree said on December 28, 2008

    Thanks! This worked perfectly! Saved me alot of trouble. Thanks again!

  6. mpazda said on March 12, 2009

    This ISNT working for me.

    Still when i try and past into the CMD window… nothing appears? :-(

  7. mpazda said on March 12, 2009

    However, i used

    reg.exe add HKCUConsole /v QuickEdit /t REG_DWORD /d 1 /f

    in the command prompt, and it works fine now…

  8. Fried Hog said on September 3, 2010

    Thanks!

  9. H Kishan4 said on July 24, 2011

    thank u sir,
    i learnt with u r wonderful co-operation

  10. sashi said on December 2, 2011

    Thanks a lot. This tip helped me no end.

  11. Michelle said on December 28, 2011

    Thank you so much!!

  12. Info said on January 11, 2012

    That is what I was looking for :)

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -