Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command Prompt - Copy to Clipboard


Command Prompt - Copy to Clipboard

How to Enable Copy to Clipboard from Command Prompt in Windows 7
Published by Brink
22 Aug 2009
Published by

How to Enable Copy to Clipboard from Command Prompt in Windows 7


information   Information
This will show you how to enable or disable Quick Edit mode in the command prompt to highlight text within the command prompt to copy to the clipboard in Windows 7.
Note   Note
You can use this for a normal command prompt or elevated command prompt window

EXAMPLE: Command Prompt
NOTE: This is the command prompt window when you have text highlighted.
Name:  Command1.jpg
Views: 3794
Size:  59.4 KB

Name:  Command2.jpg
Views: 3998
Size:  63.6 KB

Here's How:
1. Open a command prompt, then right click on the title bar of the command prompt and click on Properties. (See screenshot below)
Name:  Title_Bar.jpg
Views: 3814
Size:  70.7 KB

A) Go to step 4 or 5.
2. Open the Start Menu and click on All Programs and Accessories, then right click on Command Prompt shortcut and click on Properties. (See screenshot below)
NOTE: This option can only be done using a Command Prompt shortcut. If you do not have one, then you can do step 3 to create a shortcut to use instead.
-start_menu.jpg

A) Go to step 4 or 5.
OR

3. If you do not have a shortcut to use in step 2 -
A) In Windows Explorer, navigate to C:\Windows\system32\cmd.exe, then right click on the cmd.exe file and click on Send To and Desktop (create shortcut). Now right click on the shortcut and click on Properties. (See screenshot below)
-windows_explorer.jpg
4. To Enable Copy to Clipboard
A) Click on the Options tab, then check the Quick Edit mode box and click on OK. (See screenshot below)
Name:  Properties.jpg
Views: 3760
Size:  49.0 KB
B) Go to step 6.
5. To Disable Copy to Clipboard
A) Click on the Options tab, then uncheck the Quick Edit mode box and click on OK. (See screenshot above)

B) You're done.
6. Now you can highlight text (left click and hold, drag over text) in the command prompt that you want to copy to the Windows 7 clipboard and press enter or right click. (See screenshot below)
NOTE: Notice how the command prompt title changes to Select Command Prompt when you are in Quick Edit mode to highlight the text. The title will return to Command Prompt when you press enter or right click to indicate that it has been copied to the clipboard.
Name:  Command2.jpg
Views: 3998
Size:  63.6 KB
7. You can now right click where you want to copy the text to from the clipboard, then click on Paste.
That's it,
Shawn




22 Aug 2009   #1
Night Hawk

Windows 7 Ultimate x64, W10 Preview - Second remote tower Windows 7 Pro x64
 
 

"got ya..."! Right off the command prompt!


My System SpecsSystem Spec
22 Aug 2009   #2
Wii Master 64

Windows 7 Home Premium
 
 

i wish this was possible in vista...
My System SpecsSystem Spec
22 Aug 2009   #3
Brink
Microsoft MVP

64-bit Windows 10
 
 

Hello Wii Master,

It's the same in Vista as well.
My System SpecsSystem Spec
.


22 Aug 2009   #4
Night Hawk

Windows 7 Ultimate x64, W10 Preview - Second remote tower Windows 7 Pro x64
 
 

"Once Vista is back on here I'll have it a try there too!" posting from the command prompt again!
My System SpecsSystem Spec
22 Aug 2009   #5
Dinesh

Windows® 8 Pro (64-bit)
 
 

That is an amazing trick. Always thought of having it. Nice catch Shawn.
My System SpecsSystem Spec
22 Aug 2009   #6
Night Hawk

Windows 7 Ultimate x64, W10 Preview - Second remote tower Windows 7 Pro x64
 
 

Shawn always manages to make the best finds for some reason!
My System SpecsSystem Spec
23 Aug 2009   #7
Brink
Microsoft MVP

64-bit Windows 10
 
 

Quote   Quote: Originally Posted by Night Hawk View Post
Shawn always manages to make the best finds for some reason!
It's just those alien advantages.
My System SpecsSystem Spec
23 Aug 2009   #8
Night Hawk

Windows 7 Ultimate x64, W10 Preview - Second remote tower Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by Brink View Post
It's just those alien advantages.
That's getting "out there" for sure!

At times I could have sworn I had something highlighted in a command prompt and pasted into Note Pad. But this certainly is a great reminder just the same!
My System SpecsSystem Spec
23 Aug 2009   #9
Wii Master 64

Windows 7 Home Premium
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Wii Master,

It's the same in Vista as well.
well, i went to the file that you specified in explorer, but when i right clicked it and hit properties, all that came up was 4 tabs that said general, security, and i forgot what the other 2 said. do i need to take ownership or something?
My System SpecsSystem Spec
Comment

 Command Prompt - Copy to Clipboard




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Hello are there any shortcut to copy folder name to the clipboard ?
Hello are there any shortcut to copy folder name to the clipboard ?
General Discussion
How to capture the contents of the clipboard using the command line?
There are lots of sites discussing how to redirect the output of the command line to the clipboard but nothing covering the opposite. I want to capture a link address I have copied to my clipboard and send it to a command line program, as a variable, in a script. Clip.exe seems to be the only...
Software
Copy Content to Clipboard - Add to Context Menu
How to Add "Copy Content to Clipboard" to Context Menu in Vista, Windows 7, and Windows 8 This tutorial will show you how to add or remove Copy to Clipboard from the right context menu of BAT, CMD, CSS, HTML, JS, LOG (txt), REG, RTF, TXT, and VBS files in Vista, Windows 7, and Windows 8. ...
Tutorials
How to copy paths to clipboard from search results
G'day everyone Under Windows XP I used a program called Piky Basket which had a right-click feature that allowed me to copy the full paths of selected files to the clipboard. This feature worked on multiple files, even in search results from e.g. Windows' own search utility and e.g. Voidtools'...
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 04:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App