Lowercase filenames in Win98

I’ve searched high and low, to no avail. How on earth do you force Win98 to accept all-lowercase filenames?

I’m not sure what you meant there.

When attempting to open a file, Win98 is case-insensitive. IE, if a “dir” command lists a filename as FLUBADUB.TXT, you can open it with, say, notepad as FLUBADUB.TXT, flubadub.txt, FlUbAdUb.TxT, etc…

If you create a filename using a 32-bit app (such as Notepad or even win98’s “copy” commandline command), Win98 will save the filename using the combination of upper and lower case that you originally entered (but you can still open it using any combination of upper and lower case, because retrieving the file is case-insensitive).

If, however, you create a file using a 16-bit app, either DOS or Win16 (I have to confess here that I still use the DOS version of WordStar 5.5), then the file is stored in all upper-case. That’s an artifact of the old 16-bit interface, and I don’t think you can get around it.

The problem I’m running into involves a combination of Win98 and some webpages I’m uploading. The host’s software is case-sensitive, so there is a difference between Index.htm, INDEX.htm, and index.htm (and all the variations–thank you, rules lawyers). When I name a file in Win98, it automatically capitalizes the first letter of the filename. This creates a bit of a quandary, as you can imagine.

You could just open a command prompt and rename it there. You can actually use long filenames from the command prompt - even those containing spaces, if you enclose the filename in double quotes.

I have no idea how to do it in Explorer, though I’d love to hear it if there is a way.

I’ve never seen this behavior (first letter capitalizing) on the part of Win98. It may be a peculiarity of the program you’re using to create your pages.

When you go to save a file for the first time, try enclosing the entire name in double-quotes. Most Win9x compliant programs will take that as a sign to save it exactly as entered. This means of course that you must supply the proper extension, .htm or .HTM or .html or whatever, since the name is saved exactly as you type it.

An alternative is to use Explorer or DOS to rename the files after the web editor finishes. This can cause problems so don’t use it unless you’re really sure of the names.

If all else fails, use first-letter-caps on all your internal page references. Not the ideal solution but it might get you past the immediate problem.

Win98 will capitalize the first letter of a filename if the actual DOS filename is all UPPER case. If you’re naming the file, you should have no problem saving it as all lower case. Make sure you rename it in Explorer, though. If you name it in the DOS prompt, I don’t think Windows will write to the Joliet name. Shouldn’t be a problem.

Jman