Double Quote commands

Antworten
mmorris
Beiträge: 16
Registriert: 07 Feb 2014, 23:17

Double Quote commands

Beitrag von mmorris »

I am stuck with this command! I need to have the quotes passed to a dosinanicon csciprt but it wont pull the quotes. if i use ' in place of the internal " it passes the ' but dos dont like that!

Set $FirewallException$ = "netsh advfirewall firewall add rule name= "jp2launcher.exe Pearson" dir=in program=%ProgramFiles% (x86)\java\" + $jp2launcher_Var$ + " enable=yes profile=any action=allow description="jp2launcher.exe Pearson""
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1410
Registriert: 01 Jul 2008, 12:10

Re: Double Quote commands

Beitrag von wolfbardo »

Have a look at
EscapeString:
in https://download.uib.de/opsi_stable/doc ... anual.html

regards,
bardo wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten