This is a hard-coded answer, but this is the rough syntax. You can adjust it for flexibility (e.g. sa to something more general. This worked for when I build a project of my own.)
if "%HOME% EQU "" (
set HOME=c:\games\inform\cmdbuild
)
if NOT EXIST %HOME% (
mkdir %HOME%
)
cd c:\games\inform\sa.inform\Build
echo RELEASE
"C:\Program Files (x86)\Inform 7\Compilers\ni" -release -rules "C:\Program Files (x86)\Inform 7\Inform7\Extensions" -package "C:\games\inform\sa.inform" -extension=ulx
"C:\Program Files (x86)\Inform 7\Compilers\inform-632" -kw~S~DG +include_path=..\Source,.\ auto.inf output.ulx
"C:\Program Files (x86)\Inform 7\Compilers\cblorb" -windows ..\Release.blurb output-release.gblorb
echo DEBUG
cd c:\games\inform\sa.inform\Build
"C:\Program Files (x86)\Inform 7\Compilers\ni" -rules "C:\Program Files (x86)\Inform 7\Inform7\Extensions" -package "C:\games\inform\sa.inform" -extension=ulx
"C:\Program Files (x86)\Inform 7\Compilers\inform-632" -kwSDG +include_path=..\Source,.\ auto.inf output.ulx
"C:\Program Files (x86)\Inform 7\Compilers\cblorb" -windows ..\Release.blurb output-debug.gblorb
Note that if you tinker with Release.blurb, you can change the output name, but that would require PERL.