Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS tool to convert letters in text file to upper/lowercase. (Miscellaneous)

posted by rr Homepage E-mail, Berlin, Germany, 28.10.2022, 19:02

> Googled all the way, and did not find any, is there one maybe....

Case conversion is not as easy as it may seem.
If your letters are from the A-Z range, all is fine and you can use Jim's solution.

For other languages than English there may be more letters to translate, e.g., German has the umlauts ÄÖÜäöü. These are outside the A-Z range of the ASCII table. So you need a translation table suited for the language the text is in.

Timo Salmi's TSFLTB (download) includes sample filters for case conversion.

Usage is:
FILTXT.EXE INPUT.TXT OUTPUT.TXT LOWER.XLT
or
FILTXT.EXE INPUT.TXT OUTPUT.TXT UPPER.XLT

Unfortunately this tool suffers from the well-known Runtime Error 200 bug, so you have to run a fix. It works fine with Veit Kannegießer's R200FIX, which you can find at https://kannegieser.net/veit/programm/index_e.htm. This is a TSR, so you have load it again after rebooting your machine. Either include it in your AUTOEXEC.BAT or have a look at fixes patching the EXE file: FREE SOFTWARE FOR DOS — System Utilities

---
Forum admin

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 153 users online (0 registered, 153 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum