Link to home
Start Free TrialLog in
Avatar of Veljean
Veljean

asked on

Files rename using batch file in MS-DOS

I would like to rename a large number of files as following:

01_001_Map.DAT
01_001_Map.TAB
01_001_Map.MAP
01_002_Map.DAT
01_002_Map.TAB
01_002_Map.MAP

to

01_001_DOT.DAT
01_001_DOT.TAB
01_001_DOT.MAP
01_002_DOT.DAT
01_002_DOT.TAB
01_002_DOT.MAP


How can I rename this files name using bactch file?
Thank you,
ASKER CERTIFIED SOLUTION
Avatar of Glenn Abelson
Glenn Abelson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
rename ??????_Map.??? ??????_DOT.???
Avatar of Veljean
Veljean

ASKER

Thank you very much!1
Avatar of Bill Prew
ren *_MAP.* *_DOT.*

~bp
Veljean:

either one works .* or .??? give the same end results