联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Originally posted by HAT at 2008-8-6 20:06: 把你的完整代码贴出来看看
for /r d:\zt4_rev\T1 %%a in (*.t) do echo.hello pause
for /r d:\zt4_rev\T1 %%a in (*.t) do call,echo.hello pause
@echo off title set station ID for mPCIe mode con cols=100 lines=20 setlocal enabledelayedexpansion set /p IP=please input the IP number: set /p ID=please input the ID number: cd\ d: for /r d:\zt4_rev\T1 %%a in (*.cfg) do ( set temp=%%a set mo=!temp:~16,14! set phase=!temp:~13,2! set dirc=!temp:~0,31! cd !dirc! del sfis.cfg >>sfis.cfg echo [PN] >>sfis.cfg echo MP_PN=!mo! >>sfis.cfg echo RMA_PN=NA >>sfis.cfg echo SN_LENGTH=13 >>sfis.cfg echo. >>sfis.cfg echo [SFIS] >>sfis.cfg echo Enable=1 >>sfis.cfg echo SFIS_TIMEOUT = 25000 >>sfis.cfg echo SFIS_IP=10.5.5.!IP! >>sfis.cfg echo SFIS_Port=5010 >>sfis.cfg echo FixtureID=!phase!_!ID! >>sfis.cfg echo LINE=ZT4 >>sfis.cfg echo. >>sfis.cfg echo [Station] >>sfis.cfg echo ChipId=none >>sfis.cfg echo FA_Debug=disable >>sfis.cfg echo SfCheckAutoFocus=disable >>sfis.cfg echo. >>sfis.cfg echo [GrayBox] >>sfis.cfg echo R=255 >>sfis.cfg echo G=0 >>sfis.cfg echo B=0 >>sfis.cfg echo Message="ERROR!" >>sfis.cfg echo. >>sfis.cfg echo [ImageFile] >>sfis.cfg echo Enable=0 >>sfis.cfg echo ApplicationPath=fciv.exe >>sfis.cfg echo CheckSumPath=imagefile_12MB.cks >>sfis.cfg echo ConfigPath=param.ini >>sfis.cfg echo BlockName=Options >>sfis.cfg echo ItemName=UpLoadImagePath )
Originally posted by HAT at 2008-8-7 01:08: [code]@echo off title set station ID for mPCIe mode con cols=100 lines=20 setlocal enabledelayedexpansion set /p IP=please input the IP number: set /p ID=please input the ID number: cd\ d: ...