I can do

run 'notepad.exe' and that will start notepad up, but what I cannot do is run

shell 'START "" /wait c:\windows\notepad.exe' as ultimately I want the program to run minimized so eventually the script should do shell 'START "" /min /wait c:\windows\notepad.exe'

When I run this and I have tried every variation possible including comspec etc, it just doesn't do anything. it works fine if I type it in the command prompt, but will not run from kix script.

Ultimately what I am trying to do is get Firefox to run on very first login so that it creates the profile in appdata folder so that I can change the default homepage settings. And then I want to close firefox after its loaded.

I am probably doing something silly with the syntax as I don't often need to run an exe from script.


Edited by Robdutoit (2016-10-07 05:05 PM)
Edit Reason: Close firefox too