Writing into CSV file

I am working on a BAT script which need to write the error level parameter in csv file.Each line of data ends with this error level.I have used echo statement for writing.The errorlevels are written correctly. My problem is, when we open the csv file in Excel, it shows a square in end of each line. This is not visible if open it in notepad. How to remove this square??? Please help me to resolve this problem.

Thanks in advance.

with regards,



  • Please post an example of how you create the csv file. I tried with simple echo command and did not have the problem you described.
    Conversation should be pleasant without scurrility, witty without affectation, free without indecency, learned without conceitedness, novel without falsehood.
    William Shakespeare
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion