// 07-Mar-05 K-03-23 $$1 MTP created @echo off set MC=unset if "%PROCESSOR%" == "INTEL_486" set MC=i486_nt if "%PROCESSOR_ARCHITECTURE%" == "AMD64" set MC=i486_nt if "%PROCESSOR_ARCHITECTURE%" == "x86" set MC=i486_nt if not "%MC%" == "unset" goto mc_done echo ERROR Cannot detect what machine type you have. echo Please make one of the following settings: echo. echo set PROCESSOR=INTEL_486 - For Windows NT Intel based machines. echo. echo set PROCESSOR=INTEL_64 - For Windows Intel Itanium based machines. echo. exit :mc_done set PRO_MACHINE_TYPE=%MC% if "%PROOBJ_START_DIRECTORY%" == "" set PRO_DIRECTORY= if NOT "%PRO_DIRECTORY%" == "" "%PRO_DIRECTORY%\bin\%MC%_ptc_setvars" %0 "__SCRIPT_NAME__" bat if "%PRO_DIRECTORY%" == "" %MC%_ptc_setvars %0 "__SCRIPT_NAME__" bat call ptc_setvars.bat del ptc_setvars.bat set start_cmd=start "" set PRO_DIRECTORY=%PRODIR% if NOT "%PTCPATH%" == "" goto ptcpathset set path=%PRO_DIRECTORY%\bin;%path% set PTCPATH=true :ptcpathset