DOS tool to convert letters in text file to upper/lowercase. (Miscellaneous)
> But I didn't find a tolower() function. My guess: If the user supplied,
> e.g., lowercase "bäh" on the command line, DOS/command.com had to look for
> files like BÄH.EXE or BÄH.BAT, because uppercase is how filenames are
> stored on (FAT) disks. There simply was no need for a tolower() function.
Exactly. The DOS kernel really doesn't have a need for a tolower() function.
> Oh, INT 21 -
> DOS 3.3+ - GET EXTENDED COUNTRY INFORMATION reads "03h (DOS 6.2+
> COUNTRY.SYS) get pointer to lowercase table".
That is correct, but the contents of that table depend on the current Code Page. E.g., the Code Page I normally use is 437, but I have played around with some of the other Code Pages as well due to the nature of some of my programs (both released and unreleased/experimental). I think for at least most of the Code Pages, there are both lower-case and upper-case of the Latin-based letters that are in the Code Page. In such cases, you can go back and forth between lower- and upper-case if you need to.
But Code Page 437 also has some Greek letters (e.g., Alpha and Beta and Mu and Omega) but only has one of the two cases in the Code Page. So, even though those letters have case-equivalents you may never know it based on what DOS can tell you. DOS can't do a case-conversion unless there is something to display on the screen, and that depends on the Code Page.
Complete thread:
- DOS tool to convert letters in text file to upper/lowercase. - Cyberdyne, 28.10.2022, 07:41
- DOS tool to convert letters in text file to upper/lowercase. - mceric, 28.10.2022, 11:00
- DOS tool to convert letters in text file to upper/lowercase. - Cyberdyne, 28.10.2022, 12:45
- DOS tool to convert letters in text file to upper/lowercase. - jhall, 28.10.2022, 16:03
- DOS tool to convert letters in text file to upper/lowercase. - jhall, 28.10.2022, 16:24
- DOS tool to convert letters in text file to upper/lowercase. - jhall, 28.10.2022, 16:47
- DOS tool to convert letters in text file to upper/lowercase. - jhall, 28.10.2022, 16:24
- DOS tool to convert letters in text file to upper/lowercase. - jhall, 28.10.2022, 16:03
- DOS tool to convert letters in text file to upper/lowercase. - Rugxulo, 31.10.2022, 23:55
- DOS tool to convert letters in text file to upper/lowercase. - Cyberdyne, 28.10.2022, 12:45
- DOS tool to convert letters in text file to upper/lowercase. - rr, 28.10.2022, 19:02
- DOS tool to convert letters in text file to upper/lowercase. - Laaca, 28.10.2022, 21:38
- DOS tool to convert letters in text file to upper/lowercase. - RayeR, 15.12.2022, 16:25
- DOS tool to convert letters in text file to upper/lowercase. - bretjohn, 30.10.2022, 02:49
- DOS tool to convert letters in text file to upper/lowercase. - rr, 30.10.2022, 11:38
- DOS tool to convert letters in text file to upper/lowercase. - bretjohn, 31.10.2022, 16:12
- DOS tool to convert letters in text file to upper/lowercase. - rr, 30.10.2022, 11:38
- DOS tool to convert letters in text file to upper/lowercase. - Laaca, 28.10.2022, 21:38
- DOS tool to convert letters in text file to upper/lowercase. - Rugxulo, 29.10.2022, 00:59
- DOS tool to convert letters in text file to upper/lowercase. - Doug, 30.10.2022, 08:47
- DOS tool to convert letters in text file to upper/lowercase. - mceric, 28.10.2022, 11:00