find and replace dos batch

abhayalmighty

Broken In
suppose i have a file a.txt which contains:
D:\Doc\Abhay\bat

i want to change this to
D:\Doc\Abhay\

plz write an .bat file for this. I have no idea how to write batch files. I googled it, found some answers too but couldn't understand anything. plz give me complete code start to end
 
Top Bottom