Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1683

counted FOR loop and FOR /R

$
0
0
TCC 31.00.11 x64 Windows 10 [Version 10.0.19045.3758]
TCC Build 11 Windows 10 Build 19045
Registered to DESKTOP-C293QAU

Code:
for /l %n in (33,1,9999) ( for /r %fn in (*) if not isfile "\ZZ_Done\%@upper[%@ext[%fn]]_%@format[04,%n]\%fn" move /md /r "%fn" "\ZZ_Done\%@upper[%@ext[%fn]]_%@format[04,%n]\" & del /a:d /s /e /x /y * )

I am still having to press N - even though the coide looks fine to me.

Viewing all articles
Browse latest Browse all 1683

Trending Articles