Errors in creation of EASY5 2010 ez5vars.bat file

Issues ID    KI8008069
Status:    Published
Published date:    07/02/2010
Updated:    07/11/2014
Reported In:   Easy5 (2010 (8.2.0)) - EASY5

Known Issue


In EASY5 2010 there is a known issue where the file %EZHOME%\EZ5Vars.bat file incorrectly calls the 'find' command and also the 'findstr' command using the wrong syntax. Also, the wrong architecture flag is passed to the compiler initialization routine.




Using a text editor, (such as Notepad) please do the following: 

1. Replace all occurrences in the file EZ5VARS.BAT of



"findstr.exe /I"      (quotes shown only to indicate exact strings-- no space after the /I)

2. Replace all occurrences of

"findstr.exe /I "     (quotes shown only to indicate exact strings-- one single space after the /I)


"findstr.exe /IC:"      (quotes shown only to indicate exact strings-- no space after the /IC:)

Don't forget to include the colon at the end. The resulting text in the bat file (after the replacement operation) should NOT have a space between the colon and the quote mark that follows it. For example, a sample line should read as follows:

PATH | C:\WINDOWS\system32\findstr.exe /IC:"C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\bin" > NUL

3. Replace all occurrences of

"ia32_intel64"     (quotes shown only to indicate exact string)


"intel64"      (quotes shown only to indicate exact string)

4. Remove (or comment-out) the following two consecutive lines:

which ifort | C:\WINDOWS\SysWOW64\findstr.exe /IC:EM64T > NUL

if ERRORLEVEL 1 call "C:\PROGRA~2\Intel\Compiler\Fortran\9.1\EM64T\bin\ifortvars.bat" > NUL


It is very important that the syntax of the EZ5VARS.BAT file be correct otherwise the commands within the batch file will fail.

Steps 3 and 4 listed above may not apply to your particular installation, but the corrections should be attempted anyway just in case.

The EZ5VARS.BAT file resides in the EASY5 2010 program directory (defined as %EZHOME%), which is usually: C:\MSC.Software\EASY5\2010\



This issue has been fixed in Easy5 latest release 2010.1.2 (Version: 8.2.2). The latest version can be downloaded from MSC’s Solution Download Center.


Rate this Page
Rate the quality of this article from 5 (high) to 1 (low):
How can we improve this?


Please Sign In

Sign In Password Help | Start here

Get what you want from MSC more efficiently and effectively, either reactively through browsing and searching, or proactively through content subscriptions that you manage.

Click here for a tour of SimCompanion

Click image above for a tour of SimCompanion.