See what's going on with flipcode!




This section of the archives stores flipcode's complete Developer Toolbox collection, featuring a variety of mini-articles and source code contributions from our readers.

 

  Autocomplete For The Dos Prompt
  Submitted by



I’m sure all the dos prompt junkies like me will love this one, if they don’t already know about it… It’s possible to turn on auto complete for filenames and directories when typing in commands. You can do this by going into regedit at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor
Change CompletionChar from 0x40 to 0x9

Now go into a dos prompt (run cmd or the shortcut to command prompt, it doesn’t work if you run command from the start/run prompt)
If you type
cd pro
and then press tab, it will auto complete
cd “Program Files”
if you go into there and type
cd mic
and press tab, it will show
cd “Microsoft Office”
press tab again, and it will go to the next dir or file starting with “mic”, such as
cd “Microsoft Visual Studio”

Koushik


The zip file viewer built into the Developer Toolbox made use of the zlib library, as well as the zlibdll source additions.

 

Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
Please read our Terms, Conditions, and Privacy information.