Hey Phill,
Yes, I do realize I can do that, but I KNOW I will encounter both UNIX
and DOS formatted text files. I know UltraEdit somehow knows what kind
of file I'm trying to load, and consequently asks me to convert it. I
guess it somehow is able to check for file formatting, but perhaps it
does it in a rough way and reads in part of the file prior to asking me
the conversion question. I was just hoping that somehow it is known on
the outside what kind of file I'm trying to load.
CoRrRan
>> I would like to know how I can check, prior to opening a textfile, for
>> DOS/UNIX/MAC formatting of the file. Is there a way to do this, or is
[quoted text clipped - 12 lines]
> HTH,
> Phill W.
Herfried K. Wagner [MVP] - 23 Apr 2007 21:56 GMT
"CoRrRan" <CoRrRan~NOSPAM~@~NOSPAM~gmail.com> schrieb:
> Yes, I do realize I can do that, but I KNOW I will encounter both UNIX and
> DOS formatted text files. I know UltraEdit somehow knows what kind of file
> I'm trying to load, and consequently asks me to convert it. I guess it
> somehow is able to check for file formatting, but perhaps it does it in a
> rough way and reads in part of the file prior to asking me the conversion
> question.
Yes, the decision is made on some (statistical) analysis of a part of the
file.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
CoRrRan - 24 Apr 2007 14:41 GMT
Ah, so it does 'cheat'. :-) I guess I'll have to think of something similar.
Thanks for answering Herfried!
CoRrRan
> "CoRrRan" <CoRrRan~NOSPAM~@~NOSPAM~gmail.com> schrieb:
>> Yes, I do realize I can do that, but I KNOW I will encounter both UNIX
[quoted text clipped - 6 lines]
> Yes, the decision is made on some (statistical) analysis of a part of
> the file.