can I use Textpad in a dosbox commandline?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
G666rl
Posts: 1
Joined: Thu Dec 27, 2007 1:17 pm
Contact:

can I use Textpad in a dosbox commandline?

Post by G666rl »

Can I use textpad as a conversion tool to convert from utf-8 tp ANSI??

So, either via a textpad macro, which would mean
1 - load a bunch of file utf-8 coded files into textpad
2 - use the macro to do a massive F12 on each file, with the encoding as ANSI
3- Close the file

the problem with this one is that I've tried it, and the macros don't seem to wanna do a close command, or a skip to next file command.

OR,

there should be a way to do it via commandline with a batchfile like this

Code: Select all

textpad.exe -f UTF-8 -t ANSI "c:\LYRICS\morcheeba.txt" > "morcheeba-ansi.txt"
textpad.exe -f UTF-8 -t ANSI "c:\LYRICS\heroes.txt"  >  "heroes-ansi.txt"
textpad.exe -f UTF-8 -t ANSI "c:\LYRICS\ivy.txt"  >  "ivy-ansi.txt"
with quotes to account for spaces within file names.

the problem with this one is that I can't fine the actual commands, everytime I run textpad in a dosbox it just opens a window, which is not what i want.

please help, tell me how to make this work
Post Reply