# [NTG-context] Is there a way to completely remove all auxiliary and resulting files?

Hans Hagen pragma at wxs.nl
Tue Mar 24 15:17:40 CET 2015

```On 3/24/2015 3:04 PM, Norbert Melzer wrote:
> Is there a way to completely delete all files, that were created during
> a context run?
>
> Similar to the `-c`/`-C` options in `latexmk`?
>
> I could create a script using bat/sh but I would prefer to not have to
> maintain 2 cleanscripts for the different environments that are used to
> create the document.

--purgeall

-----------------------------------------------------------------