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”.