Hello,
I wrote a program that creates a textfile to be imported by a third party. I need to deploy my program to several machines and the problem I’m having is that the third party rejects my textfile because there are carriage returns and line feeds (0D 0A) at the end of every line. With all the stuff I’ve read, this appears to be the Windows standard. What I need to do is write a batch file that my program will call to strip out the carriage returns (0D) from all lines in my textflie. Because I need to deploy this to several machines and don’t want to install extra software on all these machines to accomplish this, is there a command in DOS that will allow me to do this?
Thanks.
Replace “oldfile” and “newfile” to your filenames: