Recent

Author Topic: How determine current user folder (tilde in Bash)?  (Read 489 times)

Borneq

  • Full Member
  • ***
  • Posts: 238
How determine current user folder (tilde in Bash)?
« on: January 24, 2020, 09:29:57 pm »
Linux shell have tilde as shortuct of current user filder, but program in Pascal or C not knows tilde.
How get this folder ?
also: how get user name and in WIndows get path to c:\user\USER?

GAN

  • Sr. Member
  • ****
  • Posts: 294
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7.2.6 - Sqlite 3.32.3

https://gitlab.com/users/GAN__/projects

 

TinyPortal © 2005-2018