Sign in Join

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

Mailing lists / fpc-pascal / 2002-08

How to get the Home Directory of the user?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

milimeter

Hello, Every body

Can you tell me how to get the Home Directory of a user in free pascal under linux? Thank you very much.

Yours,
mili

Peter Vreman
to milimeter
you wrote 5 lines
Hello, Every body Can you tell me how to get the Home Directory of a user in free pascal under linux? Thank you very much.

The environment variable HOME can be used: getenv('HOME')

Peter