Board index » Visual Studio » Environment variable and others

Environment variable and others

Visual Studio354
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.


-
 

Re:Environment variable and others

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/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vcug98/html/_asug_building_a_project_from_the_command_line.asp

[2]

http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vsintro7/html/vxgrfCommandLineSwitches.asp



[3] groups.yahoo.com/group/win_tech_off_topic/message/21188">groups.yahoo.com/group/win_tech_off_topic/message/21188



---------------------------------------------------

Automate your software builds with Visual Build Pro

www.kinook.com">www.kinook.com



"Praetorian Guard" <praetorian@gatekeeper.com>wrote in message

Quote
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.









-