how do i create a windows script that will look for a file, edit the file, and save it as a new name

file is located "c:\file1.txt"
data ab123456
xd456743

Output is
88123456
99456743

I want the script to look at the first two character and to do a conversion...if ab = 88 or xd = 99