Skip to main content

Posts

Showing posts from March, 2010

Use tab to auto complete commands in the command line

While at the prompt, typing in one or more letters a file or directory name contains will auto complete the name in alphabetical order. For example, when at the C:\> prompt type the below command.                   C:\>cd p                         After the above command has been typed, instead of pressing the enter press the tab key. When you press the tab key the first directory that begins with p will be automatically typed into the command. Continuing to press the tab key will cycle through all available directories including the "Program Files" directory. This shortcut can be used any time you need to type a file name or directory in a command.

Open web page from Windows command line

Use the below start command to open a web page from the command line. For example, the below command would open the Computer Tweaks home page from the command line in your default browser.  start http://www.computertweaks.in/

Open Command Window Here

Open the Windows command line directory of any folder in Windows by holding down the Shift key on the keyboard, right-clicking on a folder , and choosing the Open command window here option from the menu that appears. Using this tip you can quickly open any folder in the Windows command line without having to use the Windows command line commands to navigate to that directory. In the picture to the right, is an example of what this menu looks like when done properly. Keep in mind, if you do not hold down the Shift key this option will not be visible.