Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 13, 2004

Rem: Configuring CompletionChar


RSS
View this exclusive article with VIP access -- click here to join |
See More Registry Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

Q: My company recently upgraded my Windows 2000 workstation to Windows XP Professional Edition. Since the upgrade, I've lost the ability to use the Tab key to automatically complete filenames and directory names from the command line. Can you help me get this capability back?

Sure thing. The feature you're referring to is called filename and directory name completion and is indeed very handy. It's so handy that it's the first customization I make to the command processor on every new workstation I build.

There are a couple of ways you can enable filename and directory name completion:

You can enable or disable the feature for a particular instance of cmd.exe. Use the /F:On command-line switch to enable the feature and the /F:Off switch to disable it.

You can enable the feature for all instances of cmd.exe, which is my preference. Configuring name completion this way requires a registry change. Open the registry editor and go to the HKEY_CURRENT_USER\Software\Microsoft\Command Processor subkey. Change the CompletionChar's Data value to 0x9, which is the hexadecimal value for the Tab key. You need to start a new instance of cmd.exe to see the change. Alternatively, you can change the CompletionChar value in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor subkey. However, be aware that the CompletionChar setting in the HKEY_CURRENT_USER subtree will override any CompletionChar setting in the HKEY_LOCAL_MACHINE subtree. . . .

Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing