News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Working in command environment ? Avoid keystrokes

Started by ben2ong2, September 30, 2006, 06:02:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ben2ong2

use TAB keyOne of the features in Linux and certain UNIX shells is the ability to predict user keystroke. If You are typing a directory name or a filename and if it exists, using this feature would help You avoiding those extra keystrokes. Do You know WindowsXP command environment has this feature ? (Well it is available in Windows 2000 as well). To use this feature You have to use TAB key. (I would also show You how to change it to some other key even though there is no need of it). Assume You are in C:\ drive and want to type autoexec.bat and there is a file that exists by that name. Result are amazing if there is no ambiguity in filenames (meaning multiple files/directories with similar names/prefix). In such cases You can simply type first few characters and press the TAB key. You would really be amazed at this finding (Hey if not, You are really too smart and don't need this tip! )Now if You want to change this power key to some other key here is howto: Open Registry by going to START-RUN and entering REGEDIT and Navigate to [HKEY_CURRENT_USER/Software/Microsoft/Command Processor] and set CompletionChar" to ASCII number associated with the key char. for example, "CompletionChar"=dword:00000009
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login