I’d recommend using the Visual Studio 2005 Command Prompt from All Programs – Microsoft Visual Studio 2005 – Visual Studio Tools, so you don’t have to worry about setting your PATH properly.

This blog post has moved to http://saraford.net/2005/08/11/did-you-know-how-to-build-a-solution-from-the-command-line/