Unwanted space characters in the created file...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • helloitsme
    New Member
    • Oct 2006
    • 20

    Unwanted space characters in the created file...

    Hello!

    I created a batch file, which contains a string. But the string is written in the file with a space character between 2 consecutive characters ...

    When I write the same string in a *.txt file, no space characters are written.

    Please help me find out whats going on...

    Thanx a lot!
  • apiplani
    New Member
    • Oct 2006
    • 8

    #2
    Can you paste the code you are using to create this file..

    Comment

    • helloitsme
      New Member
      • Oct 2006
      • 20

      #3
      Thank you for replying. I found out the cause. Actually my string was in unicode, which made my characters occupy 2 bytes....

      Thank you though...

      Comment

      Working...