Archive: How to execute several Windows Command Line commands in one shell?


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


SetOutPath sets the current working directory.

Stu


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...


Originally posted by Afrow UK
SetOutPath sets the current working directory.

Stu
OK, thanks! That helped:)