|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| path.install(productID, filename) |
Parameters
| ID | productID | Optional. Product ID. Default value is the current application Id ({APP_ID}).
| | STRING | filename | Optional. Name of the file to be added at then end of the path. |
Return value
Folder where the application is installed. If the application is not installed on the computer, the function returns null. |
Description
Returns the application folder.
The application folder is specified in the registry database as targetFolder and is written at install.
Note: This function is defined in the library klib.k and is linked automatically. |
MioScript Sample Code
// Build the path to a file installed with the application.
&myFile = path.install("{APP_ID}", "myFile.txt") |
|
|
|