Hi,
Greetings. Not sure if this is the right forum..... In case I should visit
some other forum please let me know.

Does Dot.NET provide a quick method/way to convert a UNIX text file to DOS
format?

Cheers!!!
V

Re: Converting File Formats (Unix to Windows) by Kevin

Kevin
Wed Jun 07 16:40:17 CDT 2006

The short and sweet of it is, Unix text files use "\n" (LineFeed) for CRLFs.
Windows uses "\r\n" (CarriageReturn-LineFeed). Simplest explanation is,
replace "\n" with "\r\n".

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

A lifetime is made up of
Lots of short moments.

"VC" <letters2vc@yahoo.com> wrote in message
news:eJaMVpniGHA.4204@TK2MSFTNGP02.phx.gbl...
> Hi,
> Greetings. Not sure if this is the right forum..... In case I should visit
> some other forum please let me know.
>
> Does Dot.NET provide a quick method/way to convert a UNIX text file to DOS
> format?
>
> Cheers!!!
> V
>



Re: Converting File Formats (Unix to Windows) by bcaller

bcaller
Wed Jun 07 16:50:42 CDT 2006

Yep, just open the file and replace each \n with \r\n
______________
Compilr the online C, C#, VB.NET, Fortran compiler
http://www.caller.me.uk/Compilr


Re: Converting File Formats (Unix to Windows) by VC

VC
Wed Jun 07 17:49:56 CDT 2006

Thanks for your time Caller and Kevin. Appreciate it much.
I guess I have to do it the "Simple" way.... and replace "\n" with "\r\n"...

Cheers!!!
V!
<bcaller@gmail.com> wrote in message
news:1149717042.925211.311300@h76g2000cwa.googlegroups.com...
> Yep, just open the file and replace each \n with \r\n
> ______________
> Compilr the online C, C#, VB.NET, Fortran compiler
> http://www.caller.me.uk/Compilr
>



Re: Converting File Formats (Unix to Windows) by Leon

Leon
Thu Jun 08 05:46:25 CDT 2006

Try textimp from
http://whiskeyclone.sourceforge.net/downloads.php

It a simple fast little utility that adds a shell extention. Once
installed you just right click on a file in windows explorer and chooses
Win -> Unix or Win <- Unix

Hope this helps
Leon Lambert

VC wrote:
> Hi,
> Greetings. Not sure if this is the right forum..... In case I should visit
> some other forum please let me know.
>
> Does Dot.NET provide a quick method/way to convert a UNIX text file to DOS
> format?
>
> Cheers!!!
> V
>
>