Environment variable and others

  • Thread starter Thread starter Praetorian Guard
  • Start date Start date
P

Praetorian Guard

Hi,

1. I would like to know what is the difference between the Windows
environment variable agains the directories found in vc++ ide?

2. Is the enviroment variable use for command prompt only like compilation
in the command prompt?

3. Is the environment variable use by any windows applications? or is it use
only for command prompt application?

Thank you in advance.
 
1. Uh, one set is located in env vars, the other in the registry (for VC6)
or a user-specific file (VC7).

2. Only if the /USEENV flag is used for a command-line build [1, 2] or the
env vars are referenced in the IDE dirs (may only be possible in VC7) [3].

[1]
http://msdn.microsoft.com/library/d..._building_a_project_from_the_command_line.asp
[2]
http://msdn.microsoft.com/library/d...us/vsintro7/html/vxgrfCommandLineSwitches.asp

[3] http://groups.yahoo.com/group/win_tech_off_topic/message/21188
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top