Try looking for "unix2dos" in Google.
I have a compiled unix2dos.exe (similar to what Doc Mana wrote),
but you can specify the files you want to convert via wildcard (e.g.
*.c).
It then converts the files and overwrites the old ones.
One limitation, my version can handle only 8.3 file names.
Just send me a private email if you need the compiled version (5KB size)
Ambo
Juan Miguel Cacho wrote:
>
> En Mon, Feb 19, 2001 at 08:28:45AM +0800, Pablo Manalastas escribio:
> #_ Quoting Juan Miguel Cacho <[EMAIL PROTECTED]>:
> #_
> #_ > #_ todos < unixtextfile > dostextfile
> #_ > I don't have it, I'll look for it in freshmeat.
> #_
> #_ Here is a version of todos.c
> #_
> #_ ----------------todos.c---------------------
> #_ /* todos.c -
> #_ converts text files so that lines ending
> #_ with "\n" will end with "\r\n" instead */
> #_
> #_ #include <stdio.h>
> #_
> #_ int main()
> #_ { int c;
> #_ while ( c=getchar(), c!=EOF ) {
> #_ if ( c=='\n') putchar ('\r');
> #_ putchar(c)
> #_ }
> #_ }
> #_
> #_ ------------------end-----------------------
> #_
> #_ PMana
>
> I couldn't find it in freshmeat!
>
> Thanks.
>
> --
> Juan Miguel Cacho [EMAIL PROTECTED] ®
> Philippines [EMAIL PROTECTED]
> ...the poor count their blessings, the affluent count their calories.
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]