> the path to program files is in the environment variable 'ProgramFiles' > and you can get the value by using the function GetEnvironmentVariable
I don't think it's the right way to get this information. Special folders doesn't have the same name in all languages. Better to use SHGetSpecialFolderLocation API as I explained in my previous message. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

