Saturday, December 15, 2007

DOS prompt navigation (file name completion)

So now that you have the DOS prompt (see earlier blog entry), you need to make your DOS prompt navigation as painless as possible, so make sure that you have file name completion turned on. It is very easy to turn on (if not already on). It is a small registry tweak. Simply paste the following into a file with extension .reg and execute it.

Press TAB and SHIFT-TAB in any DOS prompt to get the file and directory names auto-filled in. You can even type the starting letters to limit to matches found. E.g. in C:\ type in P and press TAB and you'll see all the files and directories starting with P, e.g. "Program Files".

Nifty.

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"CompletionChar" = dword:00000009

No comments: