The following used to work in v53 but it does no longer in v54: for %i in ("::^20\d{10,10}.*.dat$") echo "%i"