Fix XD_CONFIG_LOCATION for windows

- Fix bat scripts append "/" to XD_CONFIG_LOCATION