@echo off
rem ------------------------------------------------------------------------
rem 
rem File:  M3CMCONF.BAT
rem
rem Written: C.Waddingham 10-Jul-01
rem
rem Purpose: To set M3CM to be the current Compliance Module such
rem          that QACCM may be run directly from the command line and
rem          M3CM post-processing automatically performed (inside
rem          QACCM).
rem
rem Special Notes:
rem	      If you are using Windows '95 and you run out of environment
rem	      space you can adjust its size as follows (in config.sys):
rem	      shell=c:\command.com /e:1024
rem
rem History:
rem	     10-Jul-01 CW Created for QAC4.5 Compliance Modules
rem ------------------------------------------------------------------------

rem Set CMNAME         as name of current Compliance Module
set CMNAME=m3cm

echo.
echo Setting up QAC environment for (current) %CMNAME% Compliance Module
echo.

echo CMNAME           now set to %CMNAME%

rem Set QACPATH       to point to QAC root directory
set QACPATH=C:\PRQA\QAC-8.1.2-R\\

rem Set QACBIN        to point to location of QAC executables
set QACBIN=%QACPATH%bin
echo QACBIN           now points to %QACBIN%

rem Set QACOUTPATH    to point to location of .err and .met files
set QACOUTPATH=%QACPATH%temp
echo QACOUTPATH       now points to %QACOUTPATH%

rem Set QACHELPFILES  to point to location of HTML reference files
set QACHELPFILES=%QACPATH%help
echo QACHELPFILES     now points to %QACHELPFILES%

rem Set QACTEMP       to point to location of QAC temp directory
set QACTEMP=%QACPATH%temp
echo QACTEMP          now points to %QACTEMP%

rem Set CMHOME        to point to (current) Compliance Module root directory
set CMHOME=%QACPATH%%CMNAME%\
echo CMHOME           now points to %CMHOME%

rem Set CMBIN         to point to location of (current) Compliance Module executables
set CMBIN=%CMHOME%bin
echo CMBIN            now points to %CMBIN%

rem Modify existing path:
set path=%CMBIN%;%QACBIN%;%path%

echo.
echo Path is now:
echo %path%
