So wouldn't quotes fix that issue? My issue was with mdx dll. If I had a space in my file path to the dll I would get an error like his.

"C:\\Documents" no file (or whatever the error is) because the path was C:\\Documents and Settings\etc.

So once I surrounded the path that had spaces with quotes, it worked right.