PC Review


Reply
Thread Tools Rate Thread

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

 
 
Matt Solob
Guest
Posts: n/a
 
      23rd May 2008
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

 
Reply With Quote
 
 
 
 
Big Al
Guest
Posts: n/a
 
      23rd May 2008
Matt Solob wrote:
> 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.
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th May 2008

"Matt Solob" <(E-Mail Removed)> wrote in message
news:48373add$0$6519$(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a specific OST file ANSI or Unicode? =?Utf-8?B?Q2hyaXMgWWFybmVsbA==?= Microsoft Outlook Discussion 4 19th Jul 2011 01:09 PM
How to Echo output to file as ANSI and NOT as Unicode? Matt Solob Windows XP Help 2 24th May 2008 06:21 PM
Is a specific OST file ANSI or Unicode? =?Utf-8?B?Q2hyaXMgWWFybmVsbA==?= Microsoft Outlook Discussion 0 20th Jul 2007 07:58 PM
Re: PST File: Unicode or ANSI William Teng Microsoft Outlook Discussion 0 22nd Dec 2003 06:29 AM
output ANSI encoding for unicode character Nick Microsoft VB .NET 4 14th Sep 2003 02:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 PM.