Command line option syntax error. Type Command /? for Help solution

  
                  

In the win7 system that has just been changed, the power management software has not been installed properly. The prompt "Command line option syntax error. Type Command /? for Help", finally found the problem today, record it.

When installing, a dialog box pops up, such as Microsoft Visual C++ 2005 Redistributable -------------------------- - Command line option syntax error. Type Command /? for Help.

The problem is that the temporary directory has a Chinese name, the temporary directory is changed to c:\\windows\\temp, and the installation is successful.

Right-click on “My Computer”, select “Properties”—〉“Advanced", click the "Environment Variables (N)” button to bring up the dialog box. In the above list box, look for the “tmp” and “temp” variables, double-click and delete the Chinese characters in the variable value, that is, the Chinese characters cannot exist in the values ​​of these two variables.

Copyright © Windows knowledge All Rights Reserved