-
Notifications
You must be signed in to change notification settings - Fork 28
dos_expandenv
Dale Fugier edited this page Mar 13, 2019
·
4 revisions
Expands environment-variable strings and replaces them with the values defined for the current user.
(dos_expandenv path)
path
The path to be expanded. The path can contain one or more environment-variable strings in the form: %variableName%
. For each such reference, the %variableName%
portion is replaced with the current value of that environment variable. Case is ignored when looking up the environment-variable name. If the name is not found, the %variableName%
portion is left unexpanded.
The expanded path if successful.
The original path if unsuccessful.
Command: (dos_expandenv "%appdata%\\McNeel\Install.log")
"C:\\Users\\Dale\\AppData\\Roaming\\McNeel\Install.log"