[Bug 18168] cmd fails when passing environment variables in a batfile