c++ - Environment Variables
- Jordon Hirshon (3/3) Jun 16 2005 How can I see the value of environment variables such as INCLUDE and LI...
- mx0 seznam.cz (13/16) Jun 16 2005 Inside the program or in the system?
- Matthew (10/15) Jun 16 2005 Use nvx from http://synesis.com.au/systools.html, as in:
- Walter (5/6) Jun 17 2005 Type:
How can I see the value of environment variables such as INCLUDE and LIB? Thanks, Jordon
Jun 16 2005
In article <d8rklp$1ts9$1 digitaldaemon.com>, Jordon Hirshon says...How can I see the value of environment variables such as INCLUDE and LIB? Thanks, JordonInside the program or in the system? If you want to see these values in system, use echo %INCLUDE% from the command line (the easiest way, works AFAIK on Unix/Linux, in Windows however you have other options to view these values from control panel or in the registry, which you will especially need if you want to change environment variables, because changing them in command line box using SET command will not work for the entire system, but for that command line box only). Or you can call SET command without parameters, which displays all environment variables currently set with theire values. Form inside the program, you can retrieve environment variables using getenv(varname) function (stdlib.h).
Jun 16 2005
Use nvx from http://synesis.com.au/systools.html, as in: nvx include lib path It splits them into constituent parts, and can display which bits don't exist with -x and -X flags. There are also shortcuts for INCLUDE, LIB, CLASSPATH and PATH, so you can just type nvx -i -l -c -p There "Jordon Hirshon" <j.hirshon worldnet.att.net> wrote in message news:d8rklp$1ts9$1 digitaldaemon.com...How can I see the value of environment variables such as INCLUDE and LIB? Thanks, Jordon
Jun 16 2005
"Jordon Hirshon" <j.hirshon worldnet.att.net> wrote in message news:d8rklp$1ts9$1 digitaldaemon.com...How can I see the value of environment variables such as INCLUDE and LIB?Type: set from the command prompt.
Jun 17 2005