On Wed, 29 Jan 2014, hinst wrote:
See globals.pas ReplaceSpecialFolder('$LOCAL_APPDATA',CSIDL_LOCAL_APPDATA); ReplaceSpecialFolder('$APPDATA',CSIDL_APPDATA); ReplaceSpecialFolder('$COMMON_APPDATA',CSIDL_COMMON_APPDATA); ReplaceSpecialFolder('$PERSONAL',CSIDL_PERSONAL); ReplaceSpecialFolder('$PROGRAM_FILES',CSIDL_PROGRAM_FILES); ReplaceSpecialFolder('$PROGRAM_FILES_COMMON',CSIDL_PROGRAM_FILES_COMMON); ReplaceSpecialFolder('$PROFILE',CSIDL_PROFILE); Is the standard list on Windows. And looking a bit further, I just see that you CAN do environment variables, if you enclose them in $$, so $mvar$ would do the trick. Michael.Thanks! it worked
And I have updated the documentation :) Michael.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal