Article ID: 311933 - Last Review: January 17, 2006 - Revision: 2.0 How to specify Environment variables in project settings by using Visual C++ .NET or Visual C++ 2005This article was previously published under Q311933 On This PageSUMMARY This step-by-step article describes how to use Environment
variables in Visual C++ .NET or Visual C++ 2005. Specify File Paths in Visual C++There are two methods that you can use to specify file paths in Visual C++:
How to Use Environment VariablesYou can use an Environment variable in the same way that you use built-in Visual Studio .NET macros. For example, to use an Environment variable named MyEnvVar, type $(MyEnvVar) in the appropriate Properties field for your project.How to Set Environment Variables in Microsoft Windows Server 2003, in Windows 2000, and in Windows XPTo set Environment variables in Windows Server 2003, in Windows 2000, or in Windows XP, follow these steps:
| Article Translations
|
Back to the top
