platform.getHomePath
The 'getHomePath' function returns the current user's home directory.
getHomePath函数返回当前用户的home目录
- Prototype: platform.getHomePath();
- Parameters: None
- Return Value: the current user's home directory;
- Example:
var sTmpDir=platform.getHomePath();