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

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

Environment

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Remove unavailable path in the script of setupvars.bat for proper execution in Windows® 10

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