| I would be very curious to know how many people out there (obviously much more expert than me!) can come out with an alternative batch solution to the problem; if you fancy I launch here a sort of very friendly "challenge" across this batch renaming session! |
for my very first time I dare to reply by posting a possible solution; here is an alternative way I learnt from this great forum; it's a bit more general solution that can be adapted to multiple variations
::rename files changing string "0000" with ""
for /f "delims=" %%I in ('dir /b 0000*.pdf ^| find "0000"') do (
ren %oldvar% %newvar%
just put the batch in the same dir of the files to be renamed and the click over it...
hope it works and helps