Hello my reader, today i want to share a tip on helping all of you in using the command prompt...as all of us know, not all of windows user is able to use the command prompt as the tech geek...soo, here i want to share a bit of trick that can help all of us in using the command prompt effectively..
ok,be ready to take your note k...
1. Drag and Drop
- Being able to open a command prompt from Windows Explorer right click context menu, to the current directory is a big time saver. But what about opening a command prompt to a file location?
Instead of hacking away at the registry to provide this functionality, the easier method is to use drag-and-drop.
After using Command Prompt Here to open the prompt to the current folder location, just right click and hold on a file, then drag and drop it on the command prompt window.
Unfortunately, drag and drop only works in XP and not Vista. Instead you can use Vista's copy file name and path as text feature as an alternative.
2. Open Windows Explorer Window From Command Prompt
-Now that you know how to open the command prompt from Windows Explorer, how about reversing the process. Like open Explorer window from the current command prompt directory.
Just type the following command at the prompt and press enter:
explorer .
NOTE: Make sure to include the dot (period) after the command.
To open Windows to the parent directory that of the current directory you are at (one folder above), just type the following command:
explorer . .
Or to open Explorer to a different directory:
explorer c:\windows\system32
3 - Change Directories The Easy Way
- Navigating around the file system from the prompt requires using the dir (directory) command to 'see' the contents of a directory. But if you are just moving forward through the current directory, there is an easier way to see folders using the keyboard.
To do this, use the Change Directory command by typing cd and pressing the space bar once, then continually press the Tab key to scroll through the list of folders.
Once you see the folder that you want to navigate into, stop and press enter.
Note: if you experience any problems on XP, see How To Enable Auto Complete in XP.
4 - Search For Text
- If you execute many commands, after a while the window can fill up with a lot text. To quickly locate text output from a command, you can easily search for it using the Find dialog bog.
Click on the icon in the title bar (of the command prompt window you are working in) and select Edit, then Find… (you can also right on the Title bar select Edit \ Find ).
In the Find dialog box, just enter the text you are looking for, click on Find Next, and the selected text will be found and highlighted.
5 - Change The Window Title
- Sometimes one command prompt window is not enough. You may have situations where multiple windows are needed to perform several tasks. At times this can lead to confusion as to which window is which.
To make it easier with identifying different command prompt sessions, you can name each window with different titles by using the Title command. All you need to do is enter the following at the prompt:
TITLE [string]
Where string Specifies the title for the command prompt window.
For example, to rename a window that is being used with the net stat command, enter the following command and press enter:
title NET STAT