Portable file names
dsc at swcp.com
Tue Oct 15 17:56:01 CDT 2002
On Tuesday, October 15, 2002, at 03:23 PM, Scott Rossi wrote:
>> If I have files aBc.
>> txt and aBc.rev and store them on CDs, I assume they will be stored as
>> TXT and ABC.REV. If I try to open the first as aBc.txt, ABC.TXT or abc.
>> using Revolution "open file" or URL on Windows, Mac OS, OS X, or linux,
>> which will work?
> If I understand your question, all the above will work.
I think I have enough to make my first try at a conservative (but not 8.3)
file name constraint for my Revolution apps and libraries (and stacks and
files in general).
Dar's very conservative file name syntax for Revolution:
The file name consists of
up to 25 alphanumeric-and-underline chars,
a dot, and three alphanumeric chars.
The letters may be upper and lower case,
but the case may be lost along the way.
I don't know how to write "up to 25" in regex, so I can't impress Ken Ray
by putting it in regex.
Is this too conservative? Does it have a hole? (Are there cases where I
need at least one char before the dot?)
More information about the use-livecode