Starts a Windows application
startapp searches the directories in the PATH environment variable for the application.A string that specifies the application to execute. If appcmd does not include a full path name,
A string that specifies the file name to be opened.
nil.An integer greater than 0, if successful; otherwise
The following code starts Windows Notepad and opens the acad.lsp file.
Command: (startapp "notepad" "acad.lsp")
If an argument has embedded spaces, it must be surrounded by literal double quotes. For example, to edit the file my stuff.txt with Notepad, use the following syntax:
Command: (startapp "notepad.exe" "\"my stuff.txt\"")