Seite 2 von 2

Re: [Frage] Verschachtelte Quotes in WinBatch

Verfasst: 18 Sep 2017, 15:02
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?