Visual Studio 2003 and 2005 (and perhaps 2008 for all I know) require the command line user to run in the \'Visual Studio Command Prompt\'. When starting this command promp
You can simply run the batch file which sets the variables yourself. In VS08 it's located at:-
C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat