mmedwid
asked on
DOS Command History
I want to be able to use my up arrow key to get to commands I had typed earlier. Like I can do with NT or Win2K by default. What do I need to change in Win98 to have my previously type commands available to me?
You need to run a memory-resident program like DOSKEY in your MS-DOS sessions. You should find DOSKEY in your Windows\Command folder.
ASKER
I want it to run doskey every time I open a DOS session. Perhaps I should have been more specific. Thanks.
You can create a batch file with Notepad (or any other straight ASCII text editor) that contains the following:
C:\Windows\Command\Doskey. com
Perhaps a good name for this is RunDkey.bat
Then, navigate in Windows Explorer to the following folder:
C:\Windows\Start Menu\Programs
and find the shortcut for the MSDOS Prompt. Right click on it and select Properties. On the Program tab, in the field called Batch file:, type the name of your new batch file (RunDkey.bat). Then click ok.
C:\Windows\Command\Doskey.
Perhaps a good name for this is RunDkey.bat
Then, navigate in Windows Explorer to the following folder:
C:\Windows\Start Menu\Programs
and find the shortcut for the MSDOS Prompt. Right click on it and select Properties. On the Program tab, in the field called Batch file:, type the name of your new batch file (RunDkey.bat). Then click ok.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great - that did the trick. Thanks much. -Michael