Recently i was puzzled by some strange behaviors in software such as boot2docker. For example, when i run a command such as:
> docker run -i -t ubuntu /bash/bin
The system will complain: no such file or directory
Today another program runs into similar type of errors, when i run
> call vcvarsall.bat x86
The system complain: "Error 2 The command "call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\..\..\vc\vcvarsall.bat" x86"
The cause of error is found to be within the path variable in the windows environment variable, in which i put quotation to surround certain directories. After removing the quotation, the bug is gone.