Copy-Paste into command prompt

Discussion in 'Tips, Tricks, and Tweaks' started by Parangles, Oct 1, 2017.

  1. Parangles

    Parangles

    Joined:
    Nov 8, 2000
    Messages:
    1,123
    Location:
    Jamaica
    Thanks to glc for heads up on this- I assumed since Ctrl + V didnt work in Command line
    that you couldnt copy and paste there.
    This article gives details and alternatives. Essential for long entries, and saving results.
    Scroll down and see use of Insert key also.
    Havent tried this on Linux-my PC is down.

    How to Copy and Paste in the Windows Command Prompt
     
  2. glc

    glc Forum Administrator Staff Member

    Joined:
    May 26, 2000
    Messages:
    34,861
    Location:
    Joplin MO
    Or you can simply right click anywhere on the title bar, select Edit, and all your options are there.
     
  3. reggie14

    reggie14

    Joined:
    Feb 1, 2015
    Messages:
    866
    I forgot Ctrl-V didn't work at the command line before Windows 10.

    For those of you how upgraded, this will work now, mostly as expected. You still can't select text by clicking and dragging your mouse. You need a command prompt replacement for that, like cmder.
     
  4. glc

    glc Forum Administrator Staff Member

    Joined:
    May 26, 2000
    Messages:
    34,861
    Location:
    Joplin MO
    Yes you can, if you hit Ctrl+M, drag the mouse. Hit Enter to copy and Ctrl+V to paste. The right click on the title bar, Edit still works, with all functions found there.

    Before Win 10, the only hotkey that works is Enter to copy.

    2 more hotkeys that work in Win 10 are Ctrl+A for select all, and Ctrl+F for find.
     
    Jbc223456 and reggie14 like this.