using copy/paste in command prompt

Page 1 of 2 12 LastLast

  1. Posts : 60
    64-bit Windows 10 Home 1909
       #1

    using copy/paste in command prompt


    Why can't I Paste into the command prompt box?

    I was trying to type a command into the command prompt box, so I though I'd save time by using "Copy/Paste", however this wouldn't work! Why?
      My Computer


  2. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, exactly why that may be I can't tell you, as my crystal ball is currently down for unforeseen scheduled maintenance .

    File Explorer - Copy/Cut and Paste function not working

    This suggests a 3rd party program may be interfering.

    Try paste into your command prompt in Safe Mode. If that works, try a process of elimination.
      My Computers


  3. Posts : 822
    Microsoft Windows 10 Pro 64-bit
       #3

    Check the properties of your Command prompt. Right click on the top bar and select Properties.

    using copy/paste in command prompt-command-prompt-properties.png

    Make sure use Legacy Mode is Not ​selected.
      My Computer


  4. Posts : 60
    64-bit Windows 10 Home 1909
    Thread Starter
       #4

    No, that's not it.
    I have discovered that my problem comes from first "left clicking" the mouse within the Command Prompt window, before trying to paste the clipboard. Apparently this initiates a "select" mode, and clears the clipboard.
      My Computer


  5. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Hi, does your reply also address my post #2?
      My Computers


  6. Posts : 60
    64-bit Windows 10 Home 1909
    Thread Starter
       #6

    Not exactly, as I never tried to see what happens in "safe mode". I believe that I just did not understand that "left clicking" in the command prompt window cleared out the clipboard.. ��
      My Computer


  7. Posts : 5,478
    2004
       #7

    billt4g said:
    Not exactly, as I never tried to see what happens in "safe mode". I believe that I just did not understand that "left clicking" in the command prompt window cleared out the clipboard.. ��
    In the past left click was copy and right click paste (only CMD not powershell)

    CTRL+V is a pretty new way of pasting I think. Don't think it worked in windows 8 but I'm not 100% sure.

    Anyway you are correct. Left click (without selecting anything) clears the clipboard as it replaces the existing contents with nothing as that is what you selected.
      My Computer


  8. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    I can left click in the command prompt window and still paste - provided there was sthg in the buffer.
      My Computers


  9. Posts : 4,143
    Windows 3.1 to Windows 11
       #9

    as in pic (post 3) select properties and check "quickedit mode"

    because there is no way I constantly gonna remember and type all the cmd strings...

    I c/p from txt to cmd all the time testing when creating batch files
      My Computer


  10. Posts : 822
    Microsoft Windows 10 Pro 64-bit
       #10

    I did not know that left clicking in the command prompt window would delete the contents of the clipboard, I tried it because I didn't think it would work, I learned something today.

    As Kyhi said I to use the clipboard to paste commands, When I right click in the command window it automatically pastes itself in.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:50.
Find Us




Windows 10 Forums