I've seen similar examples, but can't find something exactly like my problem.
I need to run a command like this from C#:
C:FOLDERfolder with spacesOTHER_FOLDERexecutable.exe p1=hardCodedv1 p2=v2
I'm setting v2 at runtime, so I need to be able to modify the string in C# before calling Process.Start. Does anyone know how to handle this, since I have spaces between my parameters?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…