@set errorlevel=>nul
:reInput
@echo 请输入批次号:
@set/p 批次号= >nul
@set 批次号|findstr "\\<%search%\\>" >nul
@set search=%批次号 >nul
@if %批次号%=="" goto reInput >nul
@set errorlevel=>nul @set 源文件路径=C:\Users\admin\Desktop\源文件 @set 程序路径=D:\ETL\ETL\EtlTranslateInterface\bin\x64\Debug\EtlTranslateInterface.exe @echo EOD启动!!!! @ping -n 127.1>nul
call %程序路径% %批次号% %源文件路径%
05-11 19:53