OK. Did some more testing with actual programs. No, it wasn't working the way I thought. Do this: {JSCRIPT}=if (getOSlang()=="ENU" && (getOSver()=="XP" || getOSver()=="Vista")) RunCmd("notepad.exe",true,false) The second arg is to show output or not. Usually this will be true. The last arg is the wait option: true: will wait for program to finish false: will not wait for program to finish No need to specify {RUNBG}, change the last arg in RunCmd(). Sorry for the confusion.