Skip to content

Command line operation

Felipe Torrezan edited this page Apr 15, 2024 · 7 revisions

EWPtool can be used directly from the command line (e.g., "Command Prompt" or "PowerShell") for operating over an existing project file (*.ewp).

Usage

The syntax for using EWPtool from the command line is:

EWPtool.exe -p <drive>:\<project-dir> -n <project-name> -c <build-configuration> [OPTIONS]

The required parameters are:

Required parameters Description Required version Observation
-p Project Directory ($PROJ_DIR$) 4.2.0+ REQUIRED
-n Project Name ($PROJ_FNAME$) 4.2.0+ REQUIRED
-c Configuration ($CONFIG_NAME$) 4.2.0+ REQUIRED

The options and their defaults (*) are:

Options Description Accepted values Required version Observation
-f Force folder selection true/false* 4.2.0+
-i Populate with headers true/false* 4.2.7+ (*new)
-l Enable logging true/false* 4.2.0+

Note

When executed without the required parameters, the following Information Window will show:

image

Tip

Refer to Customizing menu entries in the IDE for changing the default options when operating from the IDE.