I've been using the F3 key to recall the latest command I typed from the prompt (i.e. Javac Hundred.java). Then I type another command (i.e. Java Hundred Gertrude). Is there a shortcut key that would recall not only the latest command I typed but a history of them? I want to go back to the compiler command so I just use right arrow key or F1. Is there a better way?
It depends on your operating system. If you're using Win2k (and probably true with XP as well) the doskey command is built in and just hitting your up-arrow will bring back the last command. You can do this repeatedly for other previous commands.
If you're using win9x you can install doskey very easily.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
For NT, W2K, and XP the doskey feature depends on the method that you use to get to dos. If you get there using "command" then it doesn't work by default, if you use "cmd" then the doskey feature is present. For the Win9x systems you'll need to add doskey to your autoexec.bat or dos shortcut so that it's there everytime otherwise when you get to dos type doskey to load it.