Wednesday, February 9, 2011

Tired of doing a print screen or a mark->copy on a DOS command box? Go for a better option


To copy the contents of your screen to a text editor like notepad, you can perform the following command instead of copying the text one screen at a time:

C:\> | clip

For example, if you want to see all contents of the Program Files folder in your drive C:
  1. Select the Windows Start button, select Run and type "CMD" to launch a DOS session.
  2. Type C:\>dir "Program Files" | clip
  3. Open a text editor and press [Ctrl]V to paste the contents.
The clip command will copy the output results of the to your Windows clipboard. Once you are in your text editor, do a normal paste like any Windows applications. This command works in XP and Vista as well as the newer Windows Servers (Windows 2000 Server and Up).

0 Responses to “Tired of doing a print screen or a mark->copy on a DOS command box? Go for a better option”

Post a Comment

All Rights Reserved Tech-next| | Blogger Template by Bloggermint
© TECH NEXT INDIA 2011. Powered by Blogger.