ExpandPath
Previous Top Next


Function ExpandPath(String input_path)

This function allows you to expand filenames that have Thinstall macros embedded in them. For example, you can find the value of %InstallPath% and other macro. Click here for a complete list of macros supported by Thinstall.


Parameters

input_path
[in] The path you wish to be expanded

Return Values
This function returns an a string that represents the macro-expanded path

Example:

msgbox "Expanding %InstallPath% = " + ExpandPath("%InstallPath%")
msgbox "Expanding %ProgramFilesDir% = " + ExpandPath("%ProgramFilesDir%)