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 1
1
1 > 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
8
3
9
4
@ echo off
10
5
md " %~dp0 $testAdmin$" 2 > nul
@@ -48,7 +43,7 @@ for %%i in (%allList%) do (
48
43
:: 使用7z压缩
49
44
for %%i in (%allList% ) do (
50
45
set runFile = %root%%p roject% %%i
51
- :: !!和%%是一样的意思,取变量的值,用这种方法的批处理文件前面一般有 setlocal EnableDelayedExpansion(延迟环境变量扩展) 语句
46
+ :: !!和%%都是取变量的值,用这种方法的批处理文件前面一般有setlocal EnableDelayedExpansion(延迟环境变量扩展)语句
52
47
if exist " !runFile! " (
53
48
:: 判断变量字符串中是否包含字符串
54
49
echo %%i | findstr linux > nul && (
You can’t perform that action at this time.
0 commit comments