我想把xxx提取出来并在窗口上显示复制代码
- if not %NEB特定数字%==Del echo xxx
求解谢谢复制代码
- xxx
复制代码
- @set @n=0/*
- @echo off
- for /f "delims=" %%i in ('"dir /a/s/b/on *.txt"') do (
- type "%%i" | cscript.exe -e:jscript "%~f0"
- echo 显示提取内容
- echo %%i
- )
- pause&exit /b
- */
- WSH.echo(WSH.StdIn.ReadAll().match(/指定字符串[\s\S]*$/mg).join('\r\n'));
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |