Skip To Main Content
Support Knowledge Base

Error: “\Common Was Unexpected at This Time” When Executing setupvars.bat Script

Content Type: Error Messages   |   Article ID: 000089639   |   Last Reviewed: 05/20/2022

Environment

Operating System

Windows® 10, 64-bit*

Description

Executed setupvars.bat  batch file to setup the temporary environment variables and encountered error:

\Common was unexpected at this time.

Resolution

The PATH on line 30 and 31 of the setupvars.bat script does not exist in the <INTEL_OPENVINO_DIR>\opencv directory:

  • Line 30: set
    "OpenCV_DIR=%INTEL_OPENVINO_DIR%\opencv\x64\vc14\lib"
  • Line 31: set
    "PATH=%INTEL_OPENVINO_DIR%\opencv\x64\vc14\bin;%PATH%"

Remove the else statement (from line 29 to line 32).

Related Products

This article applies to 2 products.

Discontinued Products

Intel® Developer Cloud for the Edge