I know. I know. This doesn't sound like a very interesting post, but it saved me time,
and hopefully it can save you some too.
When you install Visual Studio 2008, Microsoft creates a "Visual Studio 2008 Command
Prompt" shortcut, under that program group.
I like to take this shortcut and drop it on my Quick Launch toolbar:
The problem is that when you install the Team Foundation Server Power Tools (or other
new command line utilities) you need to put them in the path.
Well, if you look at the file the shortcut calls, it's vcvarsall.bat, but don't
bother editing that file because it calls vcvars32.bat, but don't bother editing
that file, because it calls vsvars32.bat. If you go ahead and edit that file,
you can find where the PATH is getting set, and add the Power Tools path to it:
@set PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft Team
Foundation Server 2008 Power Tools;%PATH%