home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10522 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.1 KB

  1. Path: 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
  2. From: frisk@complex.is (Fridrik Skulason)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: converting filenames to uppercase..
  5. Message-ID: <138@complex.complex.is>
  6. Date: 11 Nov 92 19:32:49 GMT
  7. Organization: Frisk Software International, Iceland
  8. Lines: 16
  9.  
  10. Does anyone know of a foolproof way to determine how a particular version
  11. of DOS converts filenames to upper case ?
  12.  
  13. The problem arises when a file name uses characters in the range 128-255.
  14. If you try to create a file with a name that contains a character in that
  15. range, DOS attempts to convert it to the closest uppercase character.
  16.  
  17. For DOS 3.3 and above it is easy to determine what table DOS uses, by using
  18. the INT 21H, AX= 6504 function.  DOS 4 and 5 also offers a function, INT 21H,
  19. AX=6520, 6521 and AX=6522,
  20.  
  21. I guess I could use INT 2F, AX=1213 or 1211 for DOS 3.0-3.2, but (and now
  22. comes the real problem)  Can anyone suggest a method which works with DOS 2...
  23.  
  24.  
  25. -frisk
  26.