I'm beta testing E3D for my company. We have used a series of two batch files to set our PDMS project env variables since 10.4.
When I call "pdmsproj.bat" from the evar.init file I get the following error message (everything3d_init.log)
The following errors were found processing the initialisation file:
*** ERROR *** Unsupported command for - at line 1 of C:\Program Files (x86)\AVEVA\Plant\E3D1.1.0\pdmsproj.bat
Here is the call line from evar.init
call "%aveva_design_exe%pdmsproj.bat" %projects_dir%
Here is what is in pdmsproj.bat
for /F "usebackq delims==" %%i in (`dir /a:d /b %1`) do call MakePDMSEnv.bat %1 %%i
If I run pdmsproj.bat from a cmd window with the project folder as the parameter, it works fine.
We have one start bat per project, which calls its own evar.bat file and all other evars.bat files from master project and other project. After calling of other bats are done, it calls a "master start"-bat which at the end calls mon.exe.
The "master start"-bat calls some files to copy files from server to pdmsuser-directory and some other stuff.
When starting E3D, we have been forced to move all the external calls to the first bat file used to start the project, and last line of "project start"-bat is
CALL "...\mon.exe" PROD 3D init "....\company.init"