delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/06/03/11:36:22

Date: Tue, 03 Jun 1997 09:35:55 -0600 (MDT)
From: Roger Ivie <IVIE AT cc DOT usu DOT edu>
Subject: Re: OpenDOS is _already_ case-sensitive?
To: OPENDOS AT delorie DOT com
Message-id: <01IJMQCMI11K9MH2ZH@cc.usu.edu>
MIME-version: 1.0

MORRIS JP wrote:

> It seems that at least part of the filesystem is already case-sensitive
> internally.  I found this on my HDD the other day:
> 
[[[ snip ]]]
> MAiN     tXT     7347 28/05/97 16:37 
[[[ snip ]]]
>
> Check out MAiN.tXT, (7347 bytes, 28/05/97)
>
> No program will touch it with a bargepole, they just reference MAIN.TXT instead.I could remove it with Norton, but it's so odd, I've decided not to for
> the moment.

OpenDOS is probably case-insensitive in the same way CP/M is: it converts the
command line to uppercase and trusts the program to do the right thing. CP/M
does not convert the file name in an FCB you hand it to uppercase, it just
goes ahead and uses it.

The traditional way of deleting this sort of file in CP/M is to load MBASIC
and issue kill "MAiN.tXT"; MBASIC does not uppercase file names and is therefore
both the leading creator of filenames with lower case and the easiest and
quickest way to deal with them. If I ever experimented with GWBASIC to determine
whether it worked this way, it was so long ago that I forgot the result...

Roger Ivie
ivie AT cc DOT usu DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019