Sign in Join

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

Mailing lists / lazarus / 2013-02

GetSystemDirectory

7 messages · 5 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 Juha Manninen
Juha Manninen wrote 6 lines
On Sun, Feb 17, 2013 at 5:38 PM, Fl?vio Etrusco wrote: > Well, what would it return in Linux? Yes, good question. I guess there is no sensible cross-platform substitute for it.

No, and that is why there is no such function.

Michael

Reply by email

Kostas Michalopoulos
to Juha Manninen: Hi Is there anything cross-platform similar with Windows GetSystemDirectory? Juha

Why do you need this? There might be an alternative for that.

2013/2/17 Juha Manninen

Show quoted text 12 lines
Hi Is there anything cross-platform similar with Windows GetSystemDirectory? Juha -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130218/c19e8633/attachment.html>

Reply by email

Anton Kavalenka
to Juha Manninen: Hi Is there anything cross-platform similar with Windows GetSystemDirectory? Juha
Juha Manninen wrote 11 lines
Hi Is there anything cross-platform similar with Windows GetSystemDirectory? Juha -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

%SystemRoot% or one of /sbin:/bin:/usr/sbun:/usr/bin

IMO on every platform system directory have to be in PATH environment variable.
One of the first.

regards,
Anton

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130218/28d796a7/attachment.html>

Reply by email