MS-DOS Batch Command

You can't mix DOS batch flow control and Opus commands as any Opus command causes the batch to be split in two.

You can either run the Opus commands via dopusrt.exe /acmd or use the equivalent DOS command instead, e.g. del.