The system tries to interpret the possibilities in the following order:Ĭ:\program.exe files\sub dir\program nameĬ:\program files\sub.exe dir\program nameĬ:\program files\sub dir\program.exe nameĬ:\program files\sub dir\program name.exe
![xojo run a program from program xojo run a program from program](http://www.sodfil.com/img/octoscreen/screen.jpg)
This string can be interpreted in a number of ways. For example, consider the string "c:\program files\sub dir\program name". If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin otherwise, the file name is ambiguous. In that case, the module name must be the first white space–delimited token in the CommandLine string.
![xojo run a program from program xojo run a program from program](https://manage.accuwebhosting.com/kb-images/how-to-install-xojo-app-in-windows/07-Installing-xolo.png)
The ApplicationName parameter can be empty. This parameter must include the file name extension no default extension is assumed. The function will not use the search path. In the case of a partial name, the function uses the current drive and current directory to complete the specification.
#XOJO RUN A PROGRAM FROM PROGRAM FULL#
The string can specify the full path and file name of the module to execute or it can specify a partial name.
![xojo run a program from program xojo run a program from program](https://windows-cdn.softpedia.com/screenshots/REALbasic-Standard_28.jpg)
It can be some other type of module (for example, MS-DOS or OS/2) if the appropriate subsystem is available on the local computer. This module can be a Windows-based application. MsgBox "Launched Notepad with process id: "+str(pid) MsgBox "Launched explorer with process id: "+str(pid)Įrror = WindowsExecuteMBS( "", "notepad.exe " "C:\boot.ini" "", "", pid) Error = WindowsExecuteMBS( "", "explorer.exe", "", pid)