Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


How to enable Unix style command line filename completion with the Tab key in Windows NT 4.0 by jrbarnett
Posted: 28 Jun 03

Windows NT 4.0 has an in built facility as per Unix for automatic filename completion with the filename by pressing a specified key. This is disabled by default, and can be enabled by using Tweak UI 1.33 on the Cmd tab, or by going into the registry to:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\CommandProcessor

and changing the CompletionChar key from 0 to 9.
9 is the ASCII value of the tab key, so you can use this to make it anything you want.

The setting comes into effect immediately, and you can test it by opening the command prompt and typing

DIR C:\p<tab>

which will get changed to the name of the first file or directory that starts with a P, for example.

Note that this setting is stored on a per user basis as part of the profile.

Back to Microsoft: Windows FAQ Index
Back to Microsoft: Windows Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close