Code: Select all
cd abc_20140221_*
Code: Select all
cd abc_20140221_*
So I don't have to have a batch file just for the rename.Squashman wrote:Not sure why you would want to type this at the cmd line but go nuts.Code: Select all
cmd /v:on /C "for /l %i in (101 1 110) do (set /a "n1=%i, n2=%i-1" & ECHO ren !n1:~-2! !n2:~-2!)"