@echo off :::: :: Visual Studio :::: :: The Start-Menu way to get a VisualStudio terminal open is: :: :: %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" :: :: To work within an existing terminal window, use 'call' instead: :: pushd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" call "VC\Auxiliary\Build\vcvars64.bat" popd echo Environment for Visual Studio 64-bit Compiler setup ::: :: Legacy code that used to do the above ::: :: :: pushd "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" :: pushd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC" :: call vcvarsall.bat amd64 :: popd :: The following looks like an attempt to work through a Cygwin terminal directly :: (as this provides 'svn'). Not recently tested, so unclear if this works :: ::/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvarsall.bat :::: :: Ant :::: :: For ant prepare to work, now need wget (along with wgetrc file) on PATH :: In 'local/bin' folder there is an appropriate binary for this (actually :: an external SVN reference to Greenstone's winbin support tools area) echo Adding wget with its wgetrc to PATH for devel pushd bin set PATH=%CD%;%PATH% popd call gs3-setup.bat