Batch Rename dots

Unknown UNKNOWN
February 7, 2009 at 16:31:54
Specs: Windows Server 2003, 1gb
I have a folder with rars and all parts are
say

x..part1.rar
x..part2.rar
y..part1.rar
y..part2.rar
xw.xy..part1.rar
xw.xy..part2.rar

etc

how can i convert all the .. to .?


See More: Batch Rename dots

Report •


#1
February 7, 2009 at 19:29:04
setlocal enableDelayedExpansion
for %%a in (*.rar) do set a=%%a& ren "%%a" "!a:..=.!"


Report •

#2
February 8, 2009 at 01:16:59
thank you razor. it worked like a charm,.

Report •

Related Solutions


Ask Question