"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows 2000 and DOS

Auto-Complete Paths and Filenames

SUMMARY: Let Windows 2000 automatically complete your keyed-in paths and filenames.

If you use the Windows 2000 DOS prompt often (CMD.EXE), you may often find it cumbersome to type in long directories or filenames. With this trick, you can use the TAB key to have Windows automatically complete your path or filename.

For example, if you are at C:\ and type in:

C:\>cd doc

And then press the TAB key, Windows will automatically type in:

C:\cd "Documents and Settings".

Follow these instructions carefully, and do so at your own risk as they involve modifying the Windows Registry.

1) Open Regedit by clicking "Start" - "Run" and typing "Regedit" and press "ok". You may need to log in as an administrator first.

2) Navigate the Registry to My Computer, HKEY_LOCAL_MACHINE, Software, Microsoft, Command Processor.

3) In the right pane, double-click "CompletionChar" and key in "9", then press "OK".

4) Do the same for "PathCompletionChar".

5) Press F5, then open up a new command prompt.

Return to the Windows 2000 and DOS page.

Print this tip


Get the Newsletter

Thanks For Sharing!



Newest Tips:

Microsoft Word 2010
Make Sure Others Can See Your Fonts
Microsoft PowerPoint 2010
Animations or Video Displaying Poorly?
Google Chrome
[MODIFIED] Report a Malfunctioning Web Page, Crash, or Other Issue
Google Gmail
Show Unread Message Count as an Icon

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download. < more >