@ECHO OFF&setlocal enabledelayedexpansion
REM -------------------------------------------------------
REM Description: This is for SWTD
REM
REM SWTD_Auto_Test_CD.bat
REM
REM History: 2012/08/21 xulei@fnst First Release
REM -------------------------------------------------------
REM set FILEPATH=C:\AnalyzeCSV\AnalyzeCSV\template\event
REM call :loop
REM goto :eof
REM :loop
REM for /F "tokens=6 delims=\" %%i in (C:\AnalyzeCSV\AnalyzeCSV\path.txt) do (
REM echo %%i
REM if "%%i" == "User_define" goto :eof
REM REM opfmtLog.exe %FILEPATH%\%%i\EVENT.log
REM echo %FILEPATH%\%%i\EVENT.log
REM )
for /F "tokens=6 delims=\" %%i in (C:\AnalyzeCSV\AnalyzeCSV\path.txt) do (
set PRONAME=%%i
CALL :loop
)
goto :eof
:loop
REM echo %PRONAME%
if "%PRONAME%" == "User_define" goto :eof
echo %FILEPATH%\%PRONAME%\EVENT.log
REM -------------------------------------------------------
REM Description: This is for SWTD
REM
REM SWTD_Auto_Test_CD.bat
REM
REM History: 2012/08/21 xulei@fnst First Release
REM -------------------------------------------------------
REM set FILEPATH=C:\AnalyzeCSV\AnalyzeCSV\template\event
REM call :loop
REM goto :eof
REM :loop
REM for /F "tokens=6 delims=\" %%i in (C:\AnalyzeCSV\AnalyzeCSV\path.txt) do (
REM echo %%i
REM if "%%i" == "User_define" goto :eof
REM REM opfmtLog.exe %FILEPATH%\%%i\EVENT.log
REM echo %FILEPATH%\%%i\EVENT.log
REM )
for /F "tokens=6 delims=\" %%i in (C:\AnalyzeCSV\AnalyzeCSV\path.txt) do (
set PRONAME=%%i
CALL :loop
)
goto :eof
:loop
REM echo %PRONAME%
if "%PRONAME%" == "User_define" goto :eof
echo %FILEPATH%\%PRONAME%\EVENT.log