Craig Andera comments here on the use of environment variables. I use a technique similar to his, except I don't use no stinking registry key ;).

Instead, what I have is a set of batch files that set the environment as I like it, one for each version of VS.NET installed on my machine (3, at this time), and have a shortcut to each one on my quicklaunch bar (it's easy to do using the cmd.exe's /k switch). This gives me both all the things I need at the command line, and an easy way to support multiple build environments at the same time :)


Tomas Restrepo

Software developer located in Colombia.