Page 1 of 1

Is there a way of changing the format for multiple files?

Posted: Sun Jun 28, 2009 5:12 am
by B_Flynn
G'day,

I use textpad for changing large unix files to pc format.
Is there away of automating this process for when I have multiple files to change?

On another note: can textpad be "poked" by visual basic 6 to open and save the open file with format PC?

Thanks

Brendan

Posted: Sun Jun 28, 2009 7:20 am
by MudGuard
if all you want to do is change the line endings, there are tools for that - usually called unix2dos (or dos2unix for the reverse conversion) or similar ...


Btw, if the unix-style files come from a ftp server, you could use text mode for transfering them, which will do the conversion (while binary mode does not).

Posted: Thu Jul 02, 2009 9:54 am
by B_Flynn
Thanks Mudgard.

The transfering with text mode may work but the files are zipped prior to me getting access to them.

Thanks for the input

Brendan