You can't place Kix macros in an external file and expect them to be processed. You need to determine if the string contains a macro and then use something like the Execute command to evaluate the string and any macros that may be present. It's not related to SetOption values, either, so put those back to normal.

Here's a basic example:
 Code:
$Share = ReadProfileString($IniFile, $Section, 'Share']
If InStr($Share, '@')
 $Root  = Split($Share, '@')[0]
 $Macro = '@' + Split($Share, '@')[1]
 $ = Execute('$$Macro = $Macro')
 $Share = $Root + $Macro 
EndIf

'Use D: ' Share?
The Execute evaluates the string containing the macro and returns the result. Note that you'll need slightly more complex code if the macro is not at the end of the path.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D