Skip to content
⌘ NSIS Forum Archive

executing 'Start' command line

3 posts

jammusi#

executing 'Start' command line

Hi,

I am trying to execute console application using Windows command line 'Start'.
Start execute the specified command within a new Console see: http://ss64.com/nt/start.html

This is the command i want to run
Start "" /min /b "E:\PROGRA~1\Covertix\Cx-Sense\CX-SEN~1\cx-sense.exe" -app cxuser_framework
Putting this command within a batch file and execute the batch file from NSIS using Exec - works beautifully

But - when using Exec and then the command (rather than the batch file) - do nothing.

Actually - even just
 Exec 'Start'
do nothing

Help?

Tx

Oren
Afrow UK#
start is not an executable. It is built into cmd.exe therefore you cannot expect to run it without cmd.exe /c.

ReadEnvStr $R0 COMSPEC
nsExec::Exec `"$R0" /c start ...`

Stu