• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Shortcut Key

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
hired gun
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
sherry cuenco
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your tip.
 
reply
    Bookmark Topic Watch Topic
  • New Topic