Each line in a text file on a computer ends with an "end of line" sequence of special characters. However, these sequences are different for different types of computers. For PC's, the sequence is "carriage return, line feed". For Unix systems, the sequence is "line feed" (though in the Unix world, the line feed character is called "newline"). This program, called "eol", reads a text file and converts the end of line sequence to either PC-style or Unix-style; the resulting data is written to a new file.
After saving this program in your C:\windows\system32 folder, start a command prompt window and type "eol" (without the quotation marks). You will see instructions on how to run the program.