File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 111 > 1/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2- :: bajins 1.0.0 by bajins https://batch.bajins.com
3- :: 首发兼更新地址:https://batch.bajins.com
4- ::
5- :: 使用时请将bajins.bat放入任意一个PATH中的目录以便调用
6- :: 但请确保bajins.bat拥有该目录的读写权限(因此最好不要选择system32)
7- :: 建议新建一个目录专供bajins.bat使用,再将这个目录添加到PATH中
2+ :: by bajins https://www.bajins.com
83
94@ echo off
105md " %~dp0 $testAdmin$" 2 > nul
@@ -48,7 +43,7 @@ for %%i in (%allList%) do (
4843:: 使用7z压缩
4944for %%i in (%allList% ) do (
5045 set runFile = %root%%p roject% %%i
51- :: !!和%%是一样的意思,取变量的值,用这种方法的批处理文件前面一般有 setlocal EnableDelayedExpansion(延迟环境变量扩展) 语句
46+ :: !!和%%都是取变量的值,用这种方法的批处理文件前面一般有setlocal EnableDelayedExpansion(延迟环境变量扩展)语句
5247 if exist " !runFile! " (
5348 :: 判断变量字符串中是否包含字符串
5449 echo %%i | findstr linux > nul && (
You can’t perform that action at this time.
0 commit comments