Ez Batch File Functions

InstallShield 2016 ยป InstallScript Language Reference

Ez batch file functions make modifications to the default batch file. Unless changed by a call to BatchSetFileName, the default batch file is the Autoexec.bat file that was executed by the system during the boot sequence. It is important to note that each Ez batch file function opens the default batch file and then saves it automatically after making the specified modification. You do not make calls to open or save when using Ez batch file functions.

Ez Batch File Functions

Function

Description

EzBatchAddPath

Modifies the default batch file by adding a directory to the search path in a PATH command or to the value assigned to an environment variable.

EzBatchAddString

Adds a line of text to the default batch file.

EzBatchReplace

Replaces a statement in the default batch file.