There are two progams provided to remove the linefeeds from HL7 messages. Both programs have the same end result,
but one has a user interface, the other is a command line utility.
dos2hl7 - User Interface
To use this progam, run the dos2hl7_win.exe file, and you will be presented with this window:
Click the ellipses button (...) to select the file you wish to convert. To convert the file, click the Convert
button, and the new file minus the linefeeds will be written over the original file.
dos2hl7 - Command Line
To use this progam, open a command prompt and naviagte to the directory containing the dos2hl7.exe file.
This program takes one command line argument, which is the path and filename of the file you wish to convert.
An example of this is as follows:
C:\> dos2hl7.exe "C:\Documents and Settings\LoggedInUser\My Documents\hl7_file.hl7"
Once this is executed, the new file minus the linefeeds will be written over the original file.