|
|
|
How to Enable Command Line Autocompletion in Windows NT and Wind[idea]
ID: Q247435 CREATED: 01-DEC-1999 MODIFIED: 02-DEC-1999
WINDOWS:2000; winnt:4.0,4.0a,4.5
WINDOWS winnt
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft BackOffice Small Business Server versions 4.0, 4.0a, 4.5
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows 2000 Server
- Microsoft Windows NT Server version 4.0
- Microsoft Windows NT Workstation version 4.0
-------------------------------------------------------------------------------
SUMMARY
=======
IMPORTANT: This article contains information about editing the registry. Before
you edit the registry, make sure you understand how to restore it if a problem
occurs. For information about how to do this, view the "Restoring the Registry"
Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in
Regedt32.exe.
The Windows NT 4.0 and Windows 2000 command prompts allow for command line
completion extensions by pressing the key. This saves a number of
keystrokes when trying to type long paths or filenames. For instance, typing the
line:
cd c:\pro
and then hitting the key will expand the line to:
cd "c:\Program Files"
If there are multiple possibilities, ie. Using this example, If there was a
Program Files directory and a Professional directory, hitting the TAB key
multiple times would allow a person to switch between them. This behavior is
disabled by default.
MORE INFORMATION
================
WARNING: Using Registry Editor incorrectly can cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that
problems resulting from the incorrect use of Registry Editor can be solved. Use
Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it. If
you are running Windows NT, you should also update your Emergency Repair Disk
(ERD).
To enable this feature, do the following:
To change the setting for the TypeGuessRows value, follow these steps:
1. Close any programs that are running.
2. On the Start menu, click Run. Type "regedt32" (without the quotation marks)
and click OK.
3. In the Registry Editor, expand the following key:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
4. Select CompletionChar and on the Edit menu click Modify.
5. Change the value to 9.
The command prompt will now allow command line completion. No reboot is
necessary.
To restore the default settings, change the value to the default setting of "0"
(without the quotes).
Additional query words: complete bash csh korn shell Unix-like |
|
| Index Server FAQ Categories : MS Index Server, WinNT, IIS, Web Servers | | | This Knowledge Base article will briefly describe the steps
involved to set up remote debugging for use with Visual
InterDev Version 6.0 Categories : WinNT, Debugging, IIS, Web Servers | | | Step by Step Instructions on How To Install SQL Server 7.0
on Microsoft Cluster Server Categories : WinNT, MS SQL Server | | | How can i add mime types to IIS 3.0 and IIS 4.0? Categories : IIS, WinNT, Web Servers | | | Class to convert any document, that can be read by MS Word, to another format supported by Word. Categories : PHP Classes, PHP, Windows 2000, Microsoft Word, WinNT | | | known TCP/IP ports (TCP and/or UDP) that are used by services within Microsoft Windows NT version 4.0 and Microsoft Exchange Server version 5.0 Categories : WinNT, Network | | | Setup IIS using only 1 ip address and 1 ssl key but have
multiple websites Categories : WinNT, IIS, Web Servers | | | windows nt php/3 file upload script Categories : Filesystem, PHP, IIS, WinNT, Web Servers | | | Warning: Page has expired Categories : Browsers, WinNT | | | Reduce the number of processors on a system for testing. Categories : WinNT | | | How to use the IIS Exception Monitor Categories : IIS, Debugging, WinNT, Web Servers | | | Voting Machine with Access 97 Categories : PHP, ODBC, WinNT, MS Access, Complete Programs | | | enable/disable the cookies system-globaly Categories : IIS, Cookies, WinNT, Web Servers | | | Forum with Access 97 Categories : MS Access, Complete Programs, PHP, ODBC, WinNT | | | ACL Categories : Initials, WinNT, General | |
|
|
|