Problem description
There was an interesting error in the installation of HUAWEI VPN Client today, as shown in the figure below.
Command line option syntax error. Type Command /?For Help.
solution
Refer to baidu https://jingyan.baidu.com/article/2d5afd69cea6b085a2e28e9f.html experience
Command line option syntax error. Type Command /?For Help.
command line option syntax error. In fact, when I actually search for this problem, I get some developers’ explanation on baidu:
If the non-unicode language is set in the operating system to a language such as Japanese then the win32 cabinet extractor can’t handle the unicode characters in the username and will fail This means that if a non-Unicode language is set to an operating system language, such as Japanese, the username will fail if the Win32 processor cannot handle Unicode characters.
The meaning of the above is the installation path not contain Chinese and can’t identify characters
check system environment variables, I found my TEMP font> and teb font> variables contain Chinese
when newly installed in the system will be prompted to enter the name of the computer, when the input is in Chinese, also for the later buried under the root of evil.
The solution
1. Modify user environment variables or create a new temporary folder (I created a new folder here)
Change TEMP TEP TEP to C:\TEMP and C:\TMP
TEMP default path is %USERPROFILE%\AppData\Local\ TEMP, I am the new virtual machine here, I directly changed the default path
2. Delete the current computer account and create a new account. Please note that the account name should be in English or pinyin
This method is feasible in theory, but I haven’t actually practiced it. If I have to install a new machine, I will try it.
conclusion
When installing a new system on Windows, it’s best to set your account name to English or pinyin to avoid digging unnecessary holes in the back.
Read More:
- Command line option syntax error appears during software installation?
- cenos Upgrade g++ gcc(cc1plus: error: unrecognized command line option “-std=c++11”)
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Error running ‘application’: command line is too long. Short command line for application
- Linux basic command execution error: the solution of command not found
- Solution of command line window flashback when visual studio runs C + + program
- Idea running error running ‘application’: solution to command line is too long
- Bcdboot command line parameter options
- Three solutions to command line flashback in VS
- Use subprocess to execute the command line, and the pipeline is blocked
- How to terminate the current program under linux command line?
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- Error in PIP command execution – syntax error: invalid syntax
- Several ways for Ubuntu to open command line terminal window
- Linux command line cursor moving skills
- Error in idea unit test command line is too long
- Solution to errors reported by TES command in vscode – errors reported by typescript command