- @echo off
- Setlocal enabledelayedexpansion
- cd /d E:\ttt\qshell-v2.1.8
- for /l %%z in (1,1,683) do (
- set num=%%z
- echo @echo off>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo cd /d E:\ttt\qshell-v2.1.8>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo for /f "tokens=1,2,3,4,5,6,7,8,9,* delims= " %%%%a in ('type E:\ttt\qshell-v2.1.8\qiniufin1\fin!num!.txt') do (>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo set filename=%%%%a>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo set ts2d=%%%%b>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo call :main>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo )>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo :main>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo for /f "tokens=1,2,3,4,5,6,7,8,9,* delims= " %%%%d in ('E:\ttt\qshell-v2.1.8\qshell-windows-x64.exe tns2d !ts2d!') do (>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo set datt=%%%%d>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo echo !filename! !datt!>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo echo !filename! !datt!>>E:\ttt\qshell-v2.1.8\qiniufin2\!num!fin2.txt>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- echo )>>E:\ttt\qshell-v2.1.8\!num!fin2.bat>>E:\ttt\qshell-v2.1.8\!num!fin2.bat
- )
- echo exit
复制代码 执行后提示此时不应有do 但我没发现问题,哪位帮忙看看!?
拜谢拜谢 |