# DU Meter command-line options

You can use DU Meter command-line options to control and automate DU Meter to a certain extent. These commands
are mostly useful to system administrators, testers, developers and other IT professionals who wish to
integrate DU Meter into their own scripts and batch files.

> [!NOTE]
> DUMETER.EXE is not added to the system path automatically, since the majority of users do not need to
> control DU Meter from a command line. Therefore, in order to make the commands below work, you need to
> either specify a full path to DUMETER.EXE, or add its directory to the system PATH. DU Meter is installed
> into "C:\Program Files (x86)\DU Meter" by default.

### Control DU Meter Stopwatch

```
DUMETER.EXE /stopwatch=open;stopwatch_name
```

This command opens a new stopwatch named *stopwatch_name*.

```
DUMETER.EXE /stopwatch=start;stopwatch_name
```

Starts a stopwatch named *stopwatch_name*. If such a stopwatch does not yet exist, it is opened automatically.

```
DUMETER.EXE /stopwatch=stop;stopwatch_name
```

Stop a stopwatch.

```
DUMETER.EXE /stopwatch=close;stopwatch_name
```

Close a specified stopwatch window.

```
DUMETER.EXE /stopwatch=export;stopwatch_name;file_name
```

Export current data from a stopwatch to a file. File format is either text or CSV, depending on the specified
file's extension.

### Other DU Meter functions

```
DUMETER.EXE /mcp
```

DU Meter's MCP server, through which an AI app reads DU Meter's traffic statistics: the app starts it and talks
to it over standard input and output. Started by hand, it only says so. See [AI assistants](https://www.hageltech.com/support/kb/du/using/options/ai_assistants).

```
DUMETER.EXE /unblock
```

If DU Meter blocks network connections as a result of exceeded monthly traffic limit, this command will
release this blocking. Administrator permissions are required, and DU Meter will try to elevate if run from a
lower-permission command prompt.

