先测试是否存在 D:\faronear
This commit is contained in:
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user