Link to home
Start Free TrialLog in
Avatar of mmedwid
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?
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

You need to run a memory-resident program like DOSKEY in your MS-DOS sessions.  You should find DOSKEY in your Windows\Command folder.
Avatar of mmedwid
mmedwid

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.
ASKER CERTIFIED SOLUTION
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mmedwid

ASKER

Great - that did the trick.  Thanks much.  -Michael