From time to time I have to break out skills from my past. I needed to solve a few problems today that required a VBS script and a couple of batch scripts. It took me longer than I care to admit to remember how to do this.
So, this post is a reminder for my future self.
Here's how to set a local variable in DOS and use them, as well as how to use a system environment variable (WinDir):
1: SET INTERNAL_ROOT_PATH=D:\foo\trunk
2:
3: svn.exe update %INTERNAL_ROOT_PATH%
4: %WinDir%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe %INTERNAL_ROOT_PATH%\Internal.sln /Property:Config=Release
Here is...