(startapp appname [filename])
Launch this Windows application.
This function starts any other Windows application appname. Optionally, it also loads a filename into that application. When successful, the startapp function returns an integer greater than 2; when unsuccessful, it returns 2.
Examples
Code | Returns |
---|---|
(startapp "wordpad" "basedcl.dcl") | 31679 |
(startapp "junk") | 2 |