On 2020-04-05T20:39:02+0200, Net Net <dastiegen at gmail.com> wrote: > I understand MS batch files in general but the %~nA would have taken > a long time to discover and get working. Please have a look at... FOR /? ...and especially the last couple of paragraphs. -- Reino