118710
Nov 10, 2014, updated at 11:24:09 (UTC)
5170
1
0
BATCH: Leerzeichen im Registry Pfad
Hallo zusammen,
dies ist mein erste Beitrag hier und ich hoffe ich bin richtig :P
So! Erst ein mal der Code:
reg query HKLM\Software\Wow6432Node\Panda Security\AdminIE\Protections
if %ERRORLEVEL% EQU 0 goto True
if %ERRORLEVEL% EQU 1 goto False
Der Code funktioniert nicht, da zwischen Panda und Security ein Leerzeichen ist.
Ich mache sonst nicht viel mit Batch und bin momentan echt ratlos wie ich es anstelle das er den Pfad annimmt.
Jemand einen Tipp ?
Gruß
Geneesys
dies ist mein erste Beitrag hier und ich hoffe ich bin richtig :P
So! Erst ein mal der Code:
reg query HKLM\Software\Wow6432Node\Panda Security\AdminIE\Protections
if %ERRORLEVEL% EQU 0 goto True
if %ERRORLEVEL% EQU 1 goto False
Der Code funktioniert nicht, da zwischen Panda und Security ein Leerzeichen ist.
Ich mache sonst nicht viel mit Batch und bin momentan echt ratlos wie ich es anstelle das er den Pfad annimmt.
Jemand einen Tipp ?
Gruß
Geneesys
Please also mark the comments that contributed to the solution of the article
Content-Key: 254343
Url: https://administrator.de/contentid/254343
Printed on: April 24, 2024 at 11:04 o'clock
1 Comment