The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...
I have a small batch file that initialises a few things before I can type in instructions to compile some code. Anyway, I have a link on the quick-launch bar (usaing XP-pro) to the batch file, but ...