Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-02

Locating the users HOME folder

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Graeme Geldenhuys

No.

But it has been a regular request to add this to sysutils.

Please file a feature request in the bug tracker, so we won't forget it. (preferably with implementation patch ;) )

Michael.

Graeme Geldenhuys wrote 17 lines
Hi, Does FPC contain a function that returns the users $HOME folder? Something that works cross-platform? eg: similar to GetAppConfigDir() Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Vincent Snijders
to Michael Van Canneyt: No. But it has been a regular request to add this to sysutils. Please file a feature…
Michael Van Canneyt wrote 7 lines
No. But it has been a regular request to add this to sysutils. Please file a feature request in the bug tracker, so we won't forget it. (preferably with implementation patch ;) )

Are you sure? Peter Vreman asked for a $HOME macro in lazarus and Mattias implemented after it was implemented in SysUtils.

http://www.freepascal.org/docs-html/rtl/sysutils/getuserdir.html

Vincent

Reply by email

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 13 lines
Michael Van Canneyt schreef: > > No. > > But it has been a regular request to add this to sysutils. > > Please file a feature request in the bug tracker, so we won't forget it. > (preferably with implementation patch ;) ) Are you sure? Peter Vreman asked for a $HOME macro in lazarus and Mattias implemented after it was implemented in SysUtils. http://www.freepascal.org/docs-html/rtl/sysutils/getuserdir.html

I must be getting old ans suffer from amnesia :-)

I added that function myself somewhere in 2008 :(

Michael.

Reply by email