Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doskey in Windows 2000????

Status
Not open for further replies.

Dmasch

MIS
Feb 18, 2002
326
Does any one know what you have to do to have windows 2000 remember what you have typed out at dos. For example in Win98 after you typed doskey you are able to hit F3 and it will bring up what you typed before at the next command prompt. I can type doskey on the windows 2000 machine and still the F3 will not bring up the previous line that I had typed in there. Thanks in advance, I know someone out there knows how to do this in W2K.
 
It is.
Additionally, theres a feature that was in alternate command processors like 4Dos, added in w2k : command completion.
Using Regedit, find (or create if doesnt exist) this key and value :

Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: CompletionChar
Data Type: REG_DWORD (DWORD Value)
Value Data: Hex Control Character

Use regedit at own risk. If you're not familiar with it, you can screw windows badly with it.
Set the value to the hex value of the required control character. For example to use the TAB key set the value to '9', to use Ctrl-D set the value to '4' and for Ctrl-F set the value to '6'. (I use Tab).

So whenever in a command prompt I type "CD C:\WI" and hit Tab, the cmd completes to "CD C:\WINNT".
If several files/directories match what you typed, you just hit Tab (or the key you defined) to cycle them.
Great for us lazy techies !

(didnt remember that key of course, found it back at
 
Try Help, Doskey for the functions of the arrow keys and function keys.
 
Hi,
Is there a way in Windows 2000 Professional to customize the F1-F12 function key? For example, if I want to fill in "hello" input a million times. I want to be able to just hit the F1 key. Or other function key.

Thank you,
Victor
 
Pressing the up arrow key should bring up the last command typed in dos. It does for me.

"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy"
Albert Einstein
 
See if you have a newer keyboard with an "F Lock" key on the right side. If so, touch it once.

You should not need DOSKEY for what you plan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top