How to Echo output to file as ANSI and NOT as Unicode?

  • Thread starter Thread starter Matt Solob
  • Start date Start date
M

Matt Solob

From a DOS batch script (under WinXP) I redirect some Echo output to a new textfile e.g.

Echo blah blah >myfile.txt
Echo .... >>myfile.txt

The resulting file is saved as Unicode style instead of ANSI.

How can I achieve a file creation in ANSI style and NOT in Unicode style?

Matt
 
Matt said:
From a DOS batch script (under WinXP) I redirect some Echo output to a new textfile e.g.

Echo blah blah >myfile.txt
Echo .... >>myfile.txt

The resulting file is saved as Unicode style instead of ANSI.

How can I achieve a file creation in ANSI style and NOT in Unicode style?

Matt

Can you explain your definition of ANSI or more precisely what is wrong
with the text file you are creating. I've been creating text files
for years with no problems, so I'm not sure exactly what your issue is.
 
Matt Solob said:
From a DOS batch script (under WinXP) I redirect some Echo output to a new
textfile e.g.

Echo blah blah >myfile.txt
Echo .... >>myfile.txt

The resulting file is saved as Unicode style instead of ANSI.

How can I achieve a file creation in ANSI style and NOT in Unicode style?

Matt

Answered in detail in your subsequent post. It's a good idea
to close an existing thread when you find an answer, to avoid
duplication of effort.
 
Back
Top