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

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
B_Flynn
Posts: 2
Joined: Sun Jun 28, 2009 4:55 am
Location: Sydney Australia

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

Post 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
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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).
B_Flynn
Posts: 2
Joined: Sun Jun 28, 2009 4:55 am
Location: Sydney Australia

Post 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
Post Reply