You have to use the API function SHGetSpecialFolderLocation. For an example, have a look at: http://www.greatis.com/delphicb/tips/lib/system-showfolders.html
-- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be ----- Original Message ----- From: "Marco Congedo" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 25, 2005 10:50 AM Subject: Program files dir > Hello, > > how can an application know at run time the complete path of the "Program > files" directory, ( for all languages). > > Also, is there a way to know the path of the start-menu directory where > programs shorcuts are installed to be accessible from the START Windows menu? > > Thanks a lot! > > Marco > > > Marco Congedo, PhD > ------------------------------- > INRIA > (National Institute for Research in Informatics and Control) > Grenoble, France > Tel: +33 4 76615409 > Fax: +33 4 76615454 > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

