Error: “The Syntax of the Command Is Incorrect” When Running “setupvars.bat” in OpenVINO™ with Windows® 10
Content Type: Error Messages | Article ID: 000057543 | Last Reviewed: 02/04/2023
The errors may appear when setupvars.bat script is repeatedly executed in the same Command Window or the command is too long for the Windows* command line environment to handle.
Then, OpenVINO™ environment will be initialized.
If symptoms persist, shorten the setupvars.bat file PATH by installing LongPathTool.
Download the LongPathTool and How to use the long path tool for your reference.