FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Getting environment variable
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Getting environment variable
Posted: Sat Dec 07, 2013 03:34 PM

Hi, how can I get the value of an environment variable ?
Eg. I need to get in FW the value of a system variable like %DestktopUser%

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: Getting environment variable
Posted: Sat Dec 07, 2013 03:38 PM

Hello,

Use getenv.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: Getting environment variable
Posted: Sat Dec 07, 2013 04:58 PM

Thank you

Best Regards,



Marco Turco

SOFTWARE XP LLP

Continue the discussion