My guess is that your PATH variable contains paths with spaces.
I had this issue when I ran the XOG client via a command shell (cmd.exe). You need to either replace your path variable to only contain short name directories (DIR /X) or just reset you PATH variable before you XOG via a batch file.
V/r,
Gene