Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | path.install SEARCH    

  Functions
path.app
path.cookies
path.desktop
path.favorites
path.getSystemFolder
path.history
path.install
path.log
path.other
path.personal
path.programFiles
path.programs
path.recent
path.rsc
path.startMenu
path.startup
path.system
path.temp
path.windows

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
path.install

Language: MioScript
Product: MioFactory


Syntax

path.install(productID, filename)


Parameters

IDproductIDOptional.
Product ID.
Default value is the current application Id ({APP_ID}).
STRINGfilenameOptional.
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")