On many systems, the PATH environment variable is "built" from multiple statements in the Config.sys or Autoexec.bat files. Attempting to modify these statements during an installation could cause unexpected results, perhaps interfering with other installed programs. When adding new directories to the system's path, we recommend that an installation add a new path setting statement at the end of the Autoexec.bat file. This path setting statement should add the new directory to the existing path using the %PATH% variable to specify the existing path. This article provides InstallScript Code that uses this method to add a new directory to an end user's Autoexec.bat file.
↧