Commit e48d8538 authored by Kevin Funk's avatar Kevin Funk

windows: Silence some errors from batch file

Do not show:
  ERROR: The system was unable to find the specified registry key or value.
parent 1600eabf
......@@ -16,12 +16,12 @@ if DEFINED VS140COMNTOOLS (
set script="!base!\..\..\VC\vcvarsall.bat"
call %script%
for /F "usebackq tokens=3*" %%A in (`REG QUERY "HKEY_LOCAL_MACHINE\Software\KDE\KDevelop" /v Install_Dir`) do (
for /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\Software\KDE\KDevelop" /v Install_Dir 2^>nul`) DO (
set appdir=%%A %%B
)
if NOT DEFINED appdir (
for /F "usebackq tokens=3*" %%A in (`REG QUERY "HKEY_LOCAL_MACHINE\Software\Wow6432Node\KDE\KDevelop" /v Install_Dir`) do (
for /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\Software\Wow6432Node\KDE\KDevelop" /v Install_Dir 2^>nul`) DO (
set appdir=%%A %%B
)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment