can I use Textpad in a dosbox commandline?
Posted: Fri Mar 01, 2013 9:13 pm
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
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
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"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