VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-03-05 07:18:53 +0300
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-18 15:41:07 +0200
commitbd99a40d81e34e048dc8e6daefc7ff3d9f3aef56 (patch)
tree1c9b18e1b8a26b47708e92985452967bc0e5e46b /Library
parent73f6393075461a2e99828ba1ddca174c850545c6 (diff)
downloadVeraCrypt-DCS-bd99a40d81e34e048dc8e6daefc7ff3d9f3aef56.tar.gz
VeraCrypt-DCS-bd99a40d81e34e048dc8e6daefc7ff3d9f3aef56.zip
create links to VeraCrypt automatically
Diffstat (limited to 'Library')
-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%