Skip To Main Content
Support Knowledge Base

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

Environment

Operating System

Windows® 10, 64-bit*
OpenVINO 2020.4

Description

  1. Executed setupvars.bat script to initialize OpenVINO environment in Windows® 10
  2. Received error: The input line is too long. The syntax of the command is incorrect.

Resolution

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.

  1. Close current Command Window and open a new Command Window.
  2. Execute setupvars.bat script.

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.

Related Products

This article applies to 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries