Article View: comp.os.msdos.programmer
Article #3600converting filenames to uppercase..
From: Fridrik Skulason
Date: Wed, 11 Nov 1992 19:32
Date: Wed, 11 Nov 1992 19:32
16 lines
1179 bytes
1179 bytes
Does anyone know of a foolproof way to determine how a particular version of DOS converts filenames to upper case ? The problem arises when a file name uses characters in the range 128-255. If you try to create a file with a name that contains a character in that range, DOS attempts to convert it to the closest uppercase character. For DOS 3.3 and above it is easy to determine what table DOS uses, by using the INT 21H, AX= 6504 function. DOS 4 and 5 also offers a function, INT 21H, AX=6520, 6521 and AX=6522, I guess I could use INT 2F, AX=1213 or 1211 for DOS 3.0-3.2, but (and now comes the real problem) Can anyone suggest a method which works with DOS 2... -frisk
Technical Details
Message-ID:
<138@complex.complex.is>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!netsys!agate!ames!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sunic!isgate!complex!friskShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!netsys!agate!ames!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sunic!isgate!complex!frisk From: frisk@complex.is (Fridrik Skulason) Newsgroups: comp.os.msdos.programmer Subject: converting filenames to uppercase.. Message-ID: <138@complex.complex.is> Date: 11 Nov 92 19:32:49 GMT Organization: Frisk Software International, Iceland Lines: 16