65.9K
CodeProject is changing. Read more.
Home

Setting up “Auto Complete” feature in DOS command window.

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.69/5 (9 votes)

Jul 13, 2006

CPOL
viewsIcon

18786

"Auto Complete" setting in a DOS prompt enable users to traverse folders using tab key

Introduction

Setting up “Auto Complete” feature in DOS command window.

Setting up “Auto Complete” DOS feature saves time, when you use DOS command shell to traverse through directory/folders, especially when you have long folder names.

Once this feature is enabled, you do not need type the full name of the folder, where as you could type few starting characters and pressing “Tab” key will display matching folder name.

If there are more than one folder with same starting characters then continue hitting “Tab” will let you navigate through the list of folder names. To traverse the folders reverse order use “Shift + Tab” key.

Following registry entries are required to enable this feature. Create these keys manually or save these lines in a registry file and import it.

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"PathCompletionChar"=dword:00000009