🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #1329

Re: Testing ADDGROUP-with-'real'-names

#1329
From: walter briscoe
Date: Wed, 06 Dec 1995 00:00
35 lines
1943 bytes
In article <818286975snx@warren.demon.co.uk>
           leveret@warren.demon.co.uk "Nick Leverton" writes:

> A lot of surprising things are legal in DOS filenames.  Space is, for
> instance, though I haven't got a full list to hand !

From section 3.2 of Microsoft MS-DOS Programmer's Reference, ISBN
1-55615-329-5 has:

> Names and extensions can contain letters, digits, and any of the
> characters in the following set:
>     !  #  $  %  ^  &  (  )  - _    {   }   ~

     33 35 36 37 94 38 40 41 45 95 123 125 126
> ...
> Although extended ASCII characters (characters with values greater than
> 127 are also permitted in names, programs should avoid them, since the
> meaning of the extended characters may differ with different code pages.

My memory is that nearly anything goes in practice.

I knocked up a noddy using Borland C 3.1 and found the following extra
characters are acceptable in DOS 6.20
039A'B                   7 06/12/95   22:48
064A@B                   7 06/12/95   22:48
096A`B                   7 06/12/95   22:48
127AB                   7 06/12/95   22:48

I couldn't be bothered working at the interrupt level to factor out any
vagaries of the compiler. Silliness has its limitations!

The following decimal character ranges were unacceptable:
0-31,34,42-44,46,47,59-63,91-93,124
--------
walter briscoe
Technical Details
Message-ID: <818287760snz@wbriscoe.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <817661125snz@keris.demon.co.uk> <817747310snz@wash.demon.co.uk> <817773091snz@keris.demon.co.uk> <818286975snx@warren.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,32d7a9ff38d6545d
X-Google-Attributes: gid10bb05,public
From: walter briscoe <walter@wbriscoe.demon.co.uk>
Subject: Re: Testing ADDGROUP-with-'real'-names
Date: 1995/12/06
Message-ID: <818287760snz@wbriscoe.demon.co.uk>
X-Deja-AN: 121056142
x-nntp-posting-host: wbriscoe.demon.co.uk
references: <817661125snz@keris.demon.co.uk> <817747310snz@wash.demon.co.uk> <817773091snz@keris.demon.co.uk> <818286975snx@warren.demon.co.uk>
reply-to: walter@wbriscoe.demon.co.uk
newsgroups: demon.ip.developers