次の方法で共有


What was that cool thing you just did?

Back when I started at Microsoft, the big product was MS-DOS 5.  Of all the features in MS-DOS 5, my hands down favorite (and one I still use today) was DosKey.  You remember DosKey... It was the utility that made F7 one of the most useful keys on your keyboard.

Prior to starting here, I was a MS-DOS 3.x and 4.01 user (depending on whether I was at home or in the lab at school) and became pretty comfortable with the command line interface.  To this day, one of the first things I do after booting my PC is to launch a command prompt.

Every so often, someone will stop by my office while I'm working and ask me "What did you just do?  That was cool."  The "what" was pressing F7 from within a Command Prompt window.

Re-typing short commands is easy and quick, once the commands get lengthy (to me, that means 30+ characters), using the F7 key is a real time saver.  Just scroll through the list, when you find your desired command, press the Enter key and you're finished. 

This even works inside of many command line utilities (ex: cordbg)!

Happily, DosKey lives on.  My F7 key still gets it's daily workout and I can still create and use custom command line macros.  For more information on DosKey in Windows XP, check out the docs here.  Scroll down for the list of shortcut keys.  Scroll a little further for macro syntax.

Have fun!
--DK

[Edit: Fix sentence structure]

Disclaimer(s):
This posting is provided "AS IS" with no warranties, and confers no rights.

Comments

  • Anonymous
    November 10, 2004
    The comment has been removed
  • Anonymous
    November 10, 2004
    I too am a huge doskey fan! Back when you had to tweak autoexec.bat and config.sys, I would make sure doskey was loaded on bootup. I hated it when I would open up a command prompt and attempt to use doskey, but it wasn't in memory.

    I still use it all the time today. I'm more of a up arror / down arror fan. Shows how awesome and simple the program was / is.
  • Anonymous
    November 10, 2004
    I generally use F3 and up/down
  • Anonymous
    November 10, 2004
    Trevor,

    I use the up/down keys as well. Another plus to using F7 is you can get the command ID and feed it to F9 for another nice shortcut. :)

    --DK
  • Anonymous
    November 10, 2004
    Wow, I had no clue that F7 did that until now, lol. I always just used the arrow keys to scroll through using DosKey ;-)