Update: 更新脚本逻辑,添加Link2P

This commit is contained in:
2024-11-18 00:57:05 +08:00
parent a6e5a5c570
commit fd5ea8be35
2 changed files with 20 additions and 1 deletions

17
BootWorkBench/Link2P.bat Normal file
View File

@@ -0,0 +1,17 @@
@echo off
@REM 需要先挂载P盘
@REM 将一个文件夹快速链接到P盘根目录:
@REM 只需要将要链接的文件夹拖动到本文件上即可.
if "%~1"=="" (
echo 请将一个文件夹拖动到此bat文件上。
pause
exit /b
)
set "folderName=%~n1"
cd /d P:
mklink /j %folderName% "%~1"

View File

@@ -11,5 +11,7 @@ if exist P:\ (
echo Drive P: mapped to %PdirPath% echo Drive P: mapped to %PdirPath%
) )
@rem这里需要设置workbenchApp所在目录 @REM 卸载P盘命令: subst P: /d
@REM 这里需要设置workbenchApp所在目录
start /d "E:\SteamLibrary\steamapps\common\DayZ Tools\Bin\Workbench" workbenchApp.exe "-mod=%modpath%" start /d "E:\SteamLibrary\steamapps\common\DayZ Tools\Bin\Workbench" workbenchApp.exe "-mod=%modpath%"