无忧启动论坛

标题: 谁能帮忙解释一下这个dos文件是什么意思啊 [打印本页]

作者: jungjung    时间: 2013-11-19 00:04
标题: 谁能帮忙解释一下这个dos文件是什么意思啊
谁能帮忙解释一下这个dos文件是什么意思啊
@echo off
setlocal enabledelayedexpansion


IF NOT EXIST L: (net use L: \\europe.bmw.corp\ddfs1\ca)

REM Settings: project directory
set VIRTKHOME=C:\Users\qxf9208\Desktop\virtuelle kundenfahrt
REM set VIRTKHOME=%WORKSPACE%

set CMVERSION=4.0.4

REM Set license
set IPGLICENSES=L:\share\ams\IPG\%CMVERSION%\XP\etc\License_ohne_VDS
set IPGHOME=L:\share\ams\IPG\%CMVERSION%\XP
REM Create folder for simulation results
set DATETIME=%date:~-4%_%date:~3,2%_%date:~0,2%__%time:~0,2%_%time:~3,2%_%time:~6,2%
set REGRESSIONROOT=%VIRTKHOME%\tags\builds\regression-results\1
mkdir "%REGRESSIONROOT%"

REM Run CarMaker simulation
set TESTSSUCCESSFUL=0
for /f %%i IN ('dir /r /b "%VIRTKHOME%\Data\TestRun\Vkf"') do (
        "%VIRTKHOME%\src\CarMaker.win32.exe" -simoutput "%REGRESSIONROOT%" -logdir "%REGRESSIONROOT%" -appdir "%VIRTKHOME%" -dstore Vkf\%%i
        REM Perform regression tests (nrmse.exe)
        "%VIRTKHOME%\tags\builds\regression-bin\nrmse.exe" "%VIRTKHOME%" "%%i"
        if !ERRORLEVEL! GEQ 1 set TESTSSUCCESSFUL=!ERRORLEVEL!
       
)

REM Cleanup CarMaker
taskkill /F /IM apobrokerd.exe > NUL
if %TESTSSUCCESSFUL% GEQ 1 EXIT /B 1




尤其是

"%VIRTKHOME%\src\CarMaker.win32.exe" -simoutput "%REGRESSIONROOT%" -logdir "%REGRESSIONROOT%" -appdir "%VIRTKHOME%" -dstore Vkf\%%i




欢迎光临 无忧启动论坛 (http://wuyou.net./) Powered by Discuz! X3.3