12.12 A Useful Batch File When Running a Command Program

If you want to see the output of a command program, use this snippet to create a batch file that pauses the program automatically:

@echo off
%1 %2 %3 %4 %5 %6 %7 %8 %9
Pause