Ewgenijkkg
8th August 2008 16:18 UTC
How to execute several Windows Command Line commands in one shell?
Is it possible with NSIS? I mean if I call several ExecWait, the commands will be executed in several shells. But I need an execution in one single shell. To be precise, I want to change the current directory in the first command and to execute an exe-file in the new directory in the second command.
BR
Ewgenij
Afrow UK
8th August 2008 16:30 UTC
SetOutPath sets the current working directory.
Stu
LoRd_MuldeR
8th August 2008 16:35 UTC
You could run a batch file to run several commands in the shell consecutively. But running batch files via ExecWait is kinky. I think all you can code in batch file can be coded directly in NSIS as well. So there should be no need to run more than one program in the shell at once. Just do it one after another...
Ewgenijkkg
12th August 2008 10:22 UTC
Originally posted by Afrow UK
SetOutPath sets the current working directory.
Stu
OK, thanks! That helped:)