If you are dealing with unix files on windows, use the following command:
D:\>TYPE unix_file | FIND /V "" > dos_file
If you get the windows file from the unix file, use the following command:
tr -d '\r' < inputfile > outputfile
or
tr '\r' '\n' < inputfile > outputfile