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,
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
rename ??????_Map.??? ??????_DOT.???
ASKER
Thank you very much!1
ren *_MAP.* *_DOT.*
~bp
~bp
Veljean:
either one works .* or .??? give the same end results
either one works .* or .??? give the same end results