ExpandPath
Previous  Top  Next


Function ExpandPath(InputPath)

This function converts a path from macro format to system format.

Parameters:

InputPath  
[in] A path in macro format  
 
Returns:
The expanded macro path in system format  
 

Example:

Path = ExpandPath("%ProgramFilesDir%\Myapp.exe")  
' Path = c:\program files\myapp.exe 

Notes:
All macro paths must escape the '%' and '#' characters by replacing these characters with #25 and #23