setup.bash infers GSDLHOME from current working directory, but in setup.bat this had to be explicitly set manually. setup.bat now changed to use %CD% which is Windows' equivalent way of doing Unix's pwd.
pwd