Skip to main content

Get-the-Path-to-User-Folder

Command Description

Get the path to user folder

Command Prototype

sRet = Sys.GetHomePath()

Parameter Description

ParameterRequiredTypeDefaultDescription
NoneNoneNoneNoneNone

sRet,The variable used to save the output of the command.

Demo

/********************************Get user folder path************ ******************** 
Command prototype:
sRet = Sys.GetHomePath ()
Input parameters:
None
Outgoing parameters:
sRet--the result after the command is run
********************************************************************************/
sRet = Sys.GetHomePath ()
TracePrint (sRet)