These are for Windows 2000/XP/Vista
Unlike PAUSE, which accepts any key, SET /P will only accept the Enter key.
SET /P =Press Enter to continue . . .
Group commands for redirection:
To log the result of several commands, a commonly used method is
command1 > logfile.log
command2 >> logfile.log
command3 >> logfile.log
In Windows NT4/2000/XP command grouping can be used to simplify the code:
(
command1
command2
command3
) > logfile.log