name[1].ext
name[2].ext
name[3].ext
name[4].ext
name[5].ext
...
So what do you have to do? You can use a simple script like this:
@echo off for /f "tokens=1,2,3 delims=[]" %%a in ('dir /b *[1].*') do ren %%a[%%b]%%c %%a%%c
Hope you'll find it useful.
name[2].ext
name[3].ext
name[4].ext
name[5].ext
...
So what do you have to do? You can use a simple script like this:
@echo off for /f "tokens=1,2,3 delims=[]" %%a in ('dir /b *[1].*') do ren %%a[%%b]%%c %%a%%c
Hope you'll find it useful.
No comments:
Post a Comment