As I would like to use PowerShell integrated with the visual studio command prompt, here is one nice solution for this.
http://blogs.msdn.com/b/ploeh/archive/2008/04/09/visualstudio2008powershell.aspx
The basic idea is that we need use the Set-Item to set the environment variables parsed from the = in the original bat files.
Visual Studio 2008 PowerShell
Reply