var cmd : String; begin cmd := format('appname.exe /%s /%s /%s',[edit1.text,edit2.text,edit3.text]); winexec(cmd,SW_SHOW);