Skip to content

Commit bdcb1cb

Browse files
author
bajins
committed
优化注释
1 parent 2eb0ed1 commit bdcb1cb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

7z_pack.bat

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
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
83

94
@echo off
105
md "%~dp0$testAdmin$" 2>nul
@@ -48,7 +43,7 @@ for %%i in (%allList%) do (
4843
:: 使用7z压缩
4944
for %%i in (%allList%) do (
5045
set runFile=%root%%project%%%i
51-
:: !!和%%是一样的意思,取变量的值,用这种方法的批处理文件前面一般有 setlocal EnableDelayedExpansion(延迟环境变量扩展) 语句
46+
:: !!和%%都是取变量的值,用这种方法的批处理文件前面一般有setlocal EnableDelayedExpansion(延迟环境变量扩展)语句
5247
if exist "!runFile!" (
5348
:: 判断变量字符串中是否包含字符串
5449
echo %%i | findstr linux >nul && (

0 commit comments

Comments
 (0)