Neither of you are correct, so I'll explain this again. My batch file has a lot of msg * popups. So I want to give them the option of replacing the the msg* popups. So, I want to find and replace the msg * popups, so in a way I need the batch file to alter itself, but not literally. So, I need a code that will find and replace a string of code.