CMD: Copy/Paste between Window and Command Console/DOS Program

The following tech-recipe explains how to copy/paste information easily into or out of either the Command Console or a DOS program from a window.


Most users will agree that copying and pasting data into the Windows Command Console is no simple task. The procedure described below will help to alleviate the difficulties one typically experiences.

This tech-recipe may also be used to paste information into a DOS program.

First, follow these steps 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 make this a permanent change. Select Apply Properties for current window only if you only want to enable QuickEdit for this session.
6. Click OK.

With QuickEdit Mode enabled, you will be able to copy/paste information into or out of the Command Console.

To paste information into the Command Console, follow these steps:
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, proceed as follows:
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.

The Conversation

Follow the reactions below and share your own thoughts.

  • shubhendu

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

    • http://blogs.tech-recipes.com/davak/ davak

      Great! Glad we could help.

      • dikshit

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

  • dikshit

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

  • tree

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

  • mpazda

    This ISNT working for me.

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

  • mpazda

    However, i used

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

    in the command prompt, and it works fine now…

  • http://www.wheresgeorge.com/user_profile_popup.php?ukey=a025e4aabc1148cb1a97e31402e8d34c Fried Hog

    Thanks!

  • H Kishan4

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

  • sashi

    Thanks a lot. This tip helped me no end.

  • Michelle

    Thank you so much!!

  • Info

    That is what I was looking for :)