[Frage] Verschachtelte Quotes in WinBatch

Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: [Frage] Verschachtelte Quotes in WinBatch

Beitrag von SisterOfMercy »

jnko hat geschrieben:I'm trying to run a Windows-Program with two options within a WINBATCH section which itself runs another programm given in Arg2 with its own options.
What is that program?

[quote="jnko"

Code: Alles auswählen

[Winbatch_RUN]
"c:\Path with Spaces\prog1.exe 243 "c:\Path with Spaces\prog2.exe prog2Arg1 "c:\Path with Spaces\prog2Arg2" ... prog2ArgN" "
[/quote]

Why do you start with "c:\Path with Spaces\prog1.exe and not with "c:\Path with Spaces\prog1.exe"?
I mean, it already goes wrong right at the start, so why bother with the rest?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten