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

  Functions
path.app
path.appData
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.appData

Language: MioScript
Product: MioFactory


Syntax

path.appData(AppId)


Parameters

STRINGAppIdOptional.
Application ID. If empty returns the path to the root data folder.


Return value

Path and filename, if any.



Description

Returns the path to the application data folder.

On Windows XP, Vista and later, this folder is in a personal area so each user has a different data folder. This data folder is under the standard windows application data folder, in the sub-folder Desktop Apps

On older versions of Windows this folder is on c:/appData/




MioScript Sample Code

// Opens the folder with Windows Explorer

system.explore(path.appDada('{APP_ID}'))