118710
Goto Top

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

Content-Key: 254343

Url: https://administrator.de/contentid/254343

Printed on: April 19, 2024 at 02:04 o'clock

Member: Xaero1982
Solution Xaero1982 Nov 10, 2014 updated at 11:24:09 (UTC)
Goto Top
Moin,

benutze " " um den Key.

reg query "HKLM\Software\Wow6432Node\Panda Security\AdminIE\Protections"  

Grüße