marabunta
Goto Top

Escape dies Escape das und dann gehts doch nicht

hallo,

ich will einen wert auf standard zurücksetzen und hab diese zeile in einer batch datei:
reg add HKEY_CLASSES_ROOT\exefile\shell\open\command /ve /d "\"%%1\" %%* /f   

soll:
"%1" %*  

ists:
 "%1" %*^  
"%1" %*"  
"%1" %*" /f  
"%1" %* //f  
"%1" %* \/f  
leider trägt er das "/f" als text ein und überschreibt also nicht ungefragt.
Setze ich aber ein " davor, dann wird " als text geschrieben...
Mit allem was mir einfällt probiert aber es wird nur schlimmer.
Kennt sich jemand aus?

Danke.

update habs:
reg add HKEY_CLASSES_ROOT\exefile\shell\open\command /ve /d "\"%%1\" %%*" ^/f  

Content-Key: 278176

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

Printed on: April 16, 2024 at 05:04 o'clock

Member: AnkhMorpork
AnkhMorpork Jul 24, 2015 at 05:40:42 (UTC)
Goto Top
<OT>

Du hast dir offensichtlich Hilfe zur Selbsthilfe erteilt ...

Glückwunsch und Gruß

Ankh

</OT>