VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Library/VeraCryptLib/mklinks_src.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/VeraCryptLib/mklinks_src.bat b/Library/VeraCryptLib/mklinks_src.bat
index a62298e..0bf2851 100644
--- a/Library/VeraCryptLib/mklinks_src.bat
+++ b/Library/VeraCryptLib/mklinks_src.bat
@@ -3,6 +3,12 @@ pushd %~dp0
if "%veracrypt_src%"=="" if exist %CD:~0,-28%\VeraCrypt\src set veracrypt_src=%CD:~0,-28%\VeraCrypt\src
+if not "%1" == "auto" goto :manual
+if not "%2" == "" if exist %2 set veracrypt_src=%2
+set create_links_del_ren=D
+goto :create_links
+
+:manual
call :select_path "%veracrypt_src%" "Select VeraCrypt directory:"
set veracrypt_src=%select_path_result%