Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php on line 90

Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-recent-posts.php on line 942

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
TechMasala - Technology Spice Rack » 2006 » March » 16

Archive for March 16, 2006

Useful copy paste technique in DOS shell

A lot of times you might have to get down to the DOS shell in order to check out something. For example you might want to check if a site is up and running or you might want to get the IP address of a site and put into your code. In DOS shell normally you cannot copy selecting text and doing a Ctrl+C. There is a simple way to do a copy paste in the DOS shell.

  1. First create a short cut for DOS prompt on your desktop. Right click on your desktop, select new -> shortcut, for the program location just type cmd, click away next and finish.
  2. Right click on the newly created shortcut and select properties.
  3. Select the options tab and in the Edit options section, check Quick edit mode and Insert mode. Click OK to save and close.

Now you are all set. Double click the shortcut which will open up a DOS prompt. Try executing the command, say for example,

C:/>ping www.google.com

Now just like how you would select a text on any windows application, select the IP address that is displayed using your mouse. Once you have selected, right click your mouse. That’s it, this copies the text you have selected in the clipboard. You can paste this in any of your windows applications. If you want to paste whatever you have copied within the DOS shell, then simply at the prompt right click your mouse and whatever text in the clipboard gets pasted. Try it, you will get addicted to it if you are a person who often visits DOS shell and wants information copy pasted from it.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Useful copy paste technique in DOS shell at blinklist.com    Bookmark Useful copy paste technique in DOS shell at blogmarks    Bookmark Useful copy paste technique in DOS shell at del.icio.us    Digg Useful copy paste technique in DOS shell at Digg.com    Fark Useful copy paste technique in DOS shell at Fark.com    Bookmark Useful copy paste technique in DOS shell at Furl.net    Bookmark Useful copy paste technique in DOS shell at NewsVine    Bookmark Useful copy paste technique in DOS shell at reddit.com    Bookmark Useful copy paste technique in DOS shell at Simpy.com    Bookmark Useful copy paste technique in DOS shell at Spurl.net    Bookmark Useful copy paste technique in DOS shell with wists    Bookmark Useful copy paste technique in DOS shell at YahooMyWeb

Comments (1)      Cosmos


Creative Commons License  This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.