howto change cmd.exe completion char?

P

perl coder

Hello, I've got an account (with admin privs) on a Win2000 Server box,
and wish to set the filename completion character to the Tab key. I
made a shortcut on the desktop to cmd.exe and set the parameters to
/f:blush:n /k doskey /macrofile=c:\doskey.mac, and the completion does work
but only with the Ctrl-F or Ctrl-D default sequence. I read the "help
cmd" page and saw that you can edit a registry key to set a custom
completion character, so I changed
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\CompletionChar
to 9 intead of the default 40. I used 9 since that's the decimal (and
hexadecimal as well) value for the ASCII Tab character. But alas, no
cigar! :-( I even rebooted the machine and logged in again but still no
luck. Does anyone know what must be changed to be able to use the Tab
key? BTW, I'm connecting to the box with a Terminal Services Client,
if that makes any difference...
 
P

Paul R. Sadowski

The user settings can overide the machine settings so check...
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\PathCompletionChar
Both REG_DWORD set to 9.
 
G

Gary Smith

Answered in another group.

perl coder said:
Hello, I've got an account (with admin privs) on a Win2000 Server box,
and wish to set the filename completion character to the Tab key. I
made a shortcut on the desktop to cmd.exe and set the parameters to
/f:blush:n /k doskey /macrofile=c:\doskey.mac, and the completion does work
but only with the Ctrl-F or Ctrl-D default sequence. I read the "help
cmd" page and saw that you can edit a registry key to set a custom
completion character, so I changed
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\CompletionChar
to 9 intead of the default 40. I used 9 since that's the decimal (and
hexadecimal as well) value for the ASCII Tab character. But alas, no
cigar! :-( I even rebooted the machine and logged in again but still no
luck. Does anyone know what must be changed to be able to use the Tab
key? BTW, I'm connecting to the box with a Terminal Services Client,
if that makes any difference...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top