|So I've got it to work for the most part but I am having a few minor probelms. In the lines|
set a1=M19(" Optional Stop: Verify Acceptable Label!")
I had to write it as such to get it to work. If not, the batch file thinks that the parenthesis are for the for loop when it echos them.
set a1="M19(" Optional Stop: Verify Acceptable Label!")"
The quotation marks then show up in the new file but I don't want them there. Is there any way to set the variable to that whole entire string with so the parenthesis doesn't throw it off? I hope this makes sence.
Another slight problem is that the for loop is ignoring lines in the file that start with a semi-colon so they get left out of the new file. I think this might be a similar problem. The variable isn't reading it as text. Any suggestions would be great! Thank you so much for your help!!!