@echo off
rem 批量运行多清激个子文件夹里的bat
set #=Any question&set @=WX&set $=Q&set/az=0x53b7e0b4
title %#% +%$%%$%/%@% %z%
cd /d "%~dp0"
>"%tmp%\v.v" echoCreateObject("WScript.Shell").Run "cmd /c """ ^&WSH.Arguments(0) ^&"答神袜""",1,True:WSH.Quit
for /f "delims=" %%a in ('dir /a-d/b/s *.bat') do (
if /i "%%~nxa" neq "%~nx0" (
pushd "%%~dpa"
echo"%%a"
cscript -nologo -e:vbscript "%tmp%\v.v" "%%a"
popd
)
)
echo%#% +%$%%$%/%@% %z%
pause
exit
创建1.bat假设目录为升判念D:\bat
即创建2.bat、3.bat、4.bat在目录D:\bat下
在1.bat内写冲羡:
start d:\bat\1.bat
start d:\bat\2.bat
start d:\bat\3.bat
主要是在bat中写好文吵困件的绝对地址
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)