What\'s the best way to expand
${MyPath}/filename.txt to /home/user/filename.txt
or
%MyPath%/filename.txt to c:\\Document
On Windows, you can use ExpandEnvironmentStrings. Not sure about a Unix equivalent yet.