CmdAdd Item


CmdAdd=<command-name>[<,"command-parameters">]

Adds the given command and optional command parameters to the AUTOEXEC.BAT file, at the end of the file.

command-name

Name of an executable file, with or without an extension. If the filename is also defined in the SourceDisksFiles and DestinationDirs sections of the INF file, the installer adds the appropriate path to the filename before writing it to the AUTOEXEC.BAT file.

command-parameters

A string enclosed in double quotation marks or a replaceable string like %String1% or %Myparam%, where the strings that replace %String1% and %Myparam% are defined in the Strings section of the INF file. The installer appends the string to the command-name before appending the line to the end of the AUTOEXEC.BAT file. The format of this line is dependent on the command line requirements of the given executable file.