mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Add command line switch (/m noattach) that is equivalent to UI option "Only create virtual device without mounting on selected drive letter"
This commit is contained in:
@@ -9135,6 +9135,10 @@ void ExtractCommandLine (HWND hwndDlg, wchar_t *lpszCommandLine)
|
||||
// get the label
|
||||
StringCbCopyW (mountOptions.Label, sizeof (mountOptions.Label), &szTmp[6]);
|
||||
}
|
||||
else if (!_wcsicmp (szTmp, L"noattach"))
|
||||
{
|
||||
mountOptions.DisableMountManager = TRUE;
|
||||
}
|
||||
else
|
||||
AbortProcess ("COMMAND_LINE_ERROR");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user