Windows Vista Magazine advert
Welcome, Guest. Please Sign in (or Register) Welcome,  (Profile | Log out)
Real-world guides, help, tips and buying advice from the Windows community

Automatic Completion of Path for Command Prompt


By LawrenceAlbert on 02 December 2008

An old registry tip from Microsoft Technet articles that is very useful in everyday Geek computing.

If you open CMD and go to a directory, e.g. cd\windows, instead of typing the complete word "windows" type "win" + TAB. It will automatically search for the word and display the first value.

Registry Settings

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

HKEY_CURRENT_USER\Software\Microsoft\Command Processor

So, Which is being followed by the current Logon User?

CompletionChar = 9 by HKEY_CURRENT_USER

For example Open Command Prompt and go to c:\windows directory (cd\windows) and by typing "cd sys" > pressing Tab twice or more you can see the possible directories beginning with "sys". These are:

  • System
  • System32

You can also verify that by using the command: dir sys* /ad

Read more at UnlockForUs.Blogspot.com

Click Here For more Windows Tutorials

 

Enjoy Learning Windows!

Appreciate this article? If so please vote positively to help push it up the rankings Click once to push vote this item up the content rankings. This helps the community find good material, and your voting enables our systems automatically personalize your experience.

Comments



Leave a Comment:
Username: 
Password: