Batch

Microsoft Windows XP, Microsoft Windows XP OEM Upgrade

Executes the commands specified in a text file. The batch command is only available when you are using the Recovery Console, which can be started from the Setup CD.

batch input_file [output_file]

Parameters
input_fileSpecifies the text file that contains the list of commands to be executed. Input_file can consist of a drive letter and a colon, a directory name, a file name, or a combination.
output_fileIf specified, stores the output of the commands in the named file. If not specified, the output is displayed on the screen.

Example

The following example executes the batch file C:\Jobs\Find.txt and stores the output in the file C:\Jobs\Results.txt:

batch c:\jobs\find.txt c:\jobs\results.txt

Note: A batch file cannot contain a nested batch command.

Information in this document was provided by the manufacturer.