Batch To Remove Character From A String

Viewed 71991

this may seem basic but Is there a way to create a batch to remove char from a string from a txt file. ?

If I already have this inside the .txt file

2005060.png  
2005070.png  
2005080.png  
2005090.png

so is there a way to create a batch file that will remove the .png at the end to show only this in a new .txt file

2005060  
2005070  
2005080  
2005090

Thanks for any help on this! :)

3 Answers
Related