5.08.2010

Copying and pasting from the command prompt

How to copy and paste from the command prompt:Please note that the following tips assume you have the command prompt open

Copying text from the commandprompt

If you are trying to copy text from the command prompt, you may be having a tough time. Pressing ctrl + c will result in the string "^C" being displayed on the current line. Furthermore, it is impossible to select text using the mouse. To copy text from cmd, do the following:



  • Right click on the title bar of the commandprompt (by default the title bar will have the text "C:\Windows\system32\cmd.exe")
  • In the context menu that appears after clicking, hover over the word "Edit"
  • Click on the worlds "Select All"
  • Repeat the above steps however you should click on "Copy" rather than "Select All" in the last step.
After following these steps the text should be in your clipboard and you can paste the text normally.



Pasting text into the command prompt

Pasting text into the command prompt may prove to be an annoying task similarly to copying from cmd. Pressing ctrl + v will show as "^V" in your commandline. To paste into the command line, just follow the following steps:



  • Right click on the bar above the command prompt containing the text "C:\Windows\system32\cmd.exe".
  • Hover over the word "Edit" in the new menu that has appeared.
  • Click on the word "Paste"
After following the above steps you should have pasted the contents of your clip board into cmd. Be careful, sometimes commands will execute automatically when you paste.


1 comment:

  1. Really this was awesome ! I'm not talking about that post but the whole blog particularly , I really enjoyed using command prompt since I need it in programming and coding , I hope this won't be the last post in the blog , extremely waiting for a new post , and as an idea , why don't you make a small tutorial about using command prompt , like A-Z tutorials for total beginners ? people need so , since the content on the web isn't sufficient and doesn't cover it all ?
    please consider such an idea , and waiting for the next posts :)

    ReplyDelete