Перейти до змісту

Auto-Complete Paths and Filenames WINDOWS cmd


t0rik

Рекомендовані повідомлення

  • Адміністратори

Imho интересная фича ) как в юнихах

Auto-Complete Paths and Filenames

SUMMARY: Let Windows automatically complete your keyed-in paths and filenames.

If you use the Windows DOS prompt often (CMD.EXE), you may often find it cumbersome to type in long directories or filenames. With this trick, you can use the TAB key to have Windows automatically complete your path or filename.

For example, if you are at C:\ and type in:

C:\>cd doc

And then press the TAB key, Windows will automatically type in:

C:\cd "Documents and Settings".

Follow these instructions carefully, and do so at your own risk as they involve modifying the Windows Registry.

1) Open Regedit by clicking "Start" - "Run" and typing "Regedit" and press "ok". You may need to log in as an administrator first.

2) Navigate the Registry to My Computer, HKEY_LOCAL_MACHINE, Software, Microsoft, Command Processor.

3) In the right pane, double-click "CompletionChar" and key in "9", then press "OK".

4) Do the same for "PathCompletionChar".

5) Press F5, then open up a new command prompt.

Проверил, пашет елы-палы )

Посилання на коментар
Поділитись на інші сайти

  • Адміністратори

мона и так:

CompletionChar and PathCompletionChar can appear in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. If both appear in the registry, the value of the entry in HKEY_CURRENT_USER takes precedence over the value in HKEY_LOCAL_MACHINE.

For the original release of Windows 2000, the default value for this entry is 0x20. For Service Pack 1, the default is 0x9.

Assigning the values 0x0, 0xD, or 0x20 to this entry disables file name completion rather than assigning a completion character.

The command-line switches take precedence over the registry settings while using Command Processor (Cmd.exe).

Tip

To enable or disable file name completion and directory name completion for one use of the command processor, at the command prompt, type CMD /F:ON (enable) or CMD /F:OFF (disable). This command sets the completion character to CTRL+F (0x6).

For more information about the file name completion feature, at a command prompt, type CMD /?

Посилання на коментар
Поділитись на інші сайти

Заархівовано

Ця тема знаходиться в архіві та закрита для подальших відповідей.



×
×
  • Створити...