Go to: Synopsis. Return value. Flags. MEL examples.
 internalVar [-userAppDir] [-userBitmapsDir] [-userMarkingMenuDir] [-userPrefDir] [-userPresetsDir] [-userScriptDir] [-userShelfDir] [-userTmpDir] [-userWorkspaceDir]   
internalVar is undoable, NOT queryable, and NOT editable.
This command returns the values of internal variables. No modification of these variables is supported.| string | The value of the variable specified by the flag use. | 
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
| -userAppDir(-uad) |  |   | ||
| 
 | ||||
| -userScriptDir(-usd) |  |   | ||
| 
 | ||||
| -userPrefDir(-upd) |  |   | ||
| 
 | ||||
| -userPresetsDir(-ups) |  |   | ||
| 
 | ||||
| -userShelfDir(-ush) |  |   | ||
| 
 | ||||
| -userMarkingMenuDir(-umm) |  |   | ||
| 
 | ||||
| -userBitmapsDir(-ubd) |  |   | ||
| 
 | ||||
| -userTmpDir(-utd) |  |   | ||
| 
 | ||||
| -userWorkspaceDir(-uwd) |  |   | ||
| 
 | ||||
|  Flag can appear in Create mode of command |  Flag can appear in Edit mode of command | 
|  Flag can appear in Query mode of command |  Flag can be used more than once in a command. | 
string $myScriptDir = `internalVar -userScriptDir`;