blog.averetek

.NET musings, news, and product reviews courtesy of the Averetek development team.

Wednesday, January 18, 2006

 

Command Completion

This is an oldie but goodie. I spend a lot of the time working at the command line, and since I'm a two-fingered typist I'll take any shortcut I can find to save keystrokes. Here's a cool registry hack that I stumbled across some time back that forces the command processor to complete your command with the [TAB] key.

  1. Go to Start > Run and type regedit.
  2. Expand the My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\
    Command Processor
    node.
  3. Double-click the CompletionChar key and set Value Data to 9.
  4. Close the Registry Editor.

Start the Command Processor, type cd \[TAB] and watch the magic. Subsequent [TAB] key presses will cycle through the available items alphabetically.

To my knowledge this works on all versions of Windows since NT 4.0.


Comments: Post a Comment



<< Home

Archives

January 2006   February 2006   April 2006   June 2006  

This page is powered by Blogger. Isn't yours?