Copy the batch file used by the CATIA V5 Associative Interface plug-in to a local directory.
The batch file is stored with the CATIA V5 Associative Interface plug-in installation, and the name of the batch file depends on the release of CATIA V5 you are running. For example:
copy C:\SIMULIA\CAI\CAI_R20\operating_system\CAI_R20.bat C:\MyDir\CAT_R20.bat
Modify the copy of the batch file and add -batch to the start command.
start "CATIA V5 R20 Associative Interface" /b "cnext.exe"
-batch -env CAI_R20.txt -direnv "C:\Documents and Settings\All
Users\Application Data\DassaultSystemes\CATEnv"
(The path to the CATIA V5 environment file may be different at your site.)
Create an environment variable named CAT_CAI_BAT_FILE, and set its value to the full path to the modified batch file.
set CAT_CAI_BAT_FILE=C:\MyDir\CAT_R20.bat