先测试是否存在 D:\faronear

This commit is contained in:
陆柯 2021-07-08 16:00:56 +08:00
parent 824b5d2b3f
commit 7167089396
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
@echo off
@ IF "%1" == "" (set BASEDIR=..\..) else (set BASEDIR=%1)
@ IF "%1" == "" (if exist D:\faronear (set BASEDIR=D:\faronear) else (set BASEDIR=..\..)) else (set BASEDIR=%1)
echo [ Goto %BASEDIR% as base directory ]
pushd %BASEDIR%

View File

@ -1,6 +1,6 @@
@echo off
@ IF "%1" == "" (set BASEDIR=..\..) else (set BASEDIR=%1)
@ IF "%1" == "" (if exist D:\faronear (set BASEDIR=D:\faronear) else (set BASEDIR=..\..)) else (set BASEDIR=%1)
echo [ Goto %BASEDIR% as base directory ]
pushd %BASEDIR%