"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

DOS and Batch Files

Display Your Command History

SUMMARY: Scroll through the list of your most-recent DOS commands.


 

Need to know the last few or so commands that you entered at the DOS prompt? You can do so by first installing DosKey (See tip "Use Your Up Arrow For Latest Dos Commands" elsewhere in MalekTips). Then, just press your F7 key at the command prompt. You'll see the last few commands entered in the current session. Better yet, you can re-execute previously typed commands (save yourself those keystrokes!) Press F9, type in the number corresponding to the command that you want to re-execute, and presto, that command is at your DOS prompt!

If you need to clear your command history, press ALT-F7.



Print This Tip

Get E-Mail When New Tips are Online

Return to the DOS and Batch Files page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )