# nt_eventlog command

The nt_eventlog command displays or
clears the Windows application or system event log.

## Syntax

```
nt_eventlog {?}{n} {(options}
```

## Parameter(s)

| ? | Displays a help screen. | |
| --- | --- | --- |
| n | Specifies the number of log records to display. For example, nt_eventlog 10 (a displays only return the first 10 records. | |
| options | s | Displays the system event log. |
| c | Clears the application log. | |
| cs | Clears the system log. | |

---
Source: https://d3codex.com/tcl/nt-eventlog-command/ - part of the D3Codex reference.
