devxlogo

Turn on Path Auto-Completion in DOS

Turn on Path Auto-Completion in DOS

It can be annoying to type long path names at the DOS command prompt. To avoid having to do so in Windows, you can enable DOS’s auto-completion feature, which is included with every Windows NT (and later) operating system.

Here’s how to enable auto-completion:

Go to the registry editor and navigate to the key:

HKEYCurrentUser/Software/Microsoft/Command Processor/

Find the CompletionChar item and set its value to 9.That’s it. Now return to the DOS prompt to try out the enabled auto-completion feature. Here’s an example. Suppose you’re at the root folder c: and want to change to the Documents and Settings folder. Now you can just type cd doc, and press TAB.

DOS will complete the path for you, expanding the doc that you typed into cd “Documents and Settings”.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist