newEwo.cmd not working

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
ja_ma_
Posts: 10
Joined: Thu Jun 09, 2022 3:56 pm

newEwo.cmd not working

Post by ja_ma_ »

I am trying to create a new Ewo. I use WinCC OA Version 3.19 and Visual Studio 2022.

I am opening the vc 14.2 command prompt as follows:

Code: Select all

"vcvarsall.bat" x64 -vcvars_ver=14.2
>**********************************************************************
>** Visual Studio 2022 Developer Command Prompt v17.4.3
>** Copyright (c) 2022 Microsoft Corporation
>**********************************************************************
>[vcvarsall.bat] Environment initialized for: 'x64'
I am setting the evironment with the set command:

Code: Select all

set API_ROOT=C:\Siemens\Automation\WinCC_OA\3.19\api
%API_ROOT%\checkApiEnv
>found API_ROOT - good
>found VC14.2 compiler - good
>found cmake - good
>done
But when i try to create the template i get the following error:

Code: Select all

newEWO.cmd D:\Temp\ABC
>Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
>Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
>Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
>       1 Datei(en) kopiert.
>Datenträger in Laufwerk D: ist Data
>Volumeseriennummer: 268D-F525
>
 >Verzeichnis von D:\Temp\ABC
>
>10.01.2023  09:31    <DIR>          .
>10.01.2023  09:31    <DIR>          ..
>03.12.2022  03:11               730 README
>10.01.2023  09:31             1.338 VersInfo.rc
>              2 Datei(en),          2.068 Bytes
>             2 Verzeichnis(se), 165.821.947.904 Bytes frei
English:

Code: Select all

>The syntax for the file name, directory name, or volume label is incorrect.
>The syntax for the file name, directory name, or volume label is incorrect.
>The syntax for the file name, directory name, or volume label is incorrect.
>        1 file(s) copied.
>Volume in drive D: is Data
>Volume serial number: 268D-F525
>
> Directory from D:\Temp\ABC
>
>10.01.2023 09:31 <DIR> .
>01/10/2023 09:31 <DIR> ...
>12/03/2022 03:11 730 README
>01/10/2023 09:31 1.338 VersInfo.rc
>               2 file(s), 2,068 bytes
>               2 directory(s), 165,821,947,904 bytes free
I did not edit anything in newEwo.cmd or in the TemplateEwo folder.

Does anyone know what I am doing wrong?

Thanks

ja_ma_
Posts: 10
Joined: Thu Jun 09, 2022 3:56 pm

Re: newEwo.cmd not working

Post by ja_ma_ »

Found the error. I have to call the newEwo.cmd from my project directory and only add the folder name of the Ewo.


%API_ROOT%\newEwo Test

Post Reply
2 posts • Page 1 of 1