- @echo off
- for /f "tokens=2 delims=:" %%a in ('type 1.txt^|find "generated encrypted"') do (
- Fun.exe -title 0000aaaa1111bbbb -key %%a )
- pause
复制代码 这样可以取到值,但f8......前面有个空格。- @echo off
- for /f "tokens=3 delims=: " %%a in ('type 1.txt^|find "generated encrypted"') do (
- echo;%%a
- Fun.exe -title 0000aaaa1111bbbb -key %%a
- )
- pause
复制代码 空格碍事的话,这样取。 |