marabunta

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  
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 278176

Url: https://administrator.de/forum/escape-dies-escape-das-und-dann-gehts-doch-nicht-278176.html

Ausgedruckt am: 16.06.2025 um 05:06 Uhr

AnkhMorpork
AnkhMorpork 24.07.2015 um 07:40:42 Uhr
Goto Top
<OT>

Du hast dir offensichtlich Hilfe zur Selbsthilfe erteilt ...

Glückwunsch und Gruß

Ankh

</OT>