Mail Archives: djgpp/1999/12/03/23:07:57
On Fri, 03 Dec 1999 23:12:00 GMT, Damian Yerrick <NOSP AT Musenet@pineight.8m.com> wrote:
>"Ben Davis" <ben AT vjpoole DOT freeserve DOT co DOT uk> wrote:
>
>> There are a lot of characters that I'm not sure about.
>> I wondered if someone could tell me _exactly_ which
>> characters I should allow the user to type into filenames.
>
>I just tested all ASCII characters from 33 to 126 except
>the letters and digits [0-9A-Za-z]. I tried to rename a
>small file (using the ren command of the shell Micro$oft
>Command) to each character.
>
>M$ Windows Explorer says a long filename cannot contain
>\/:*?"<>|
>
>Known OK (checked in M$ Command, and the name
>appears as a DOS name):
>!#$%&'()@^_`abcdefghijklmnopqrstuvwxyz{}~
You're missing the "-".
Pointless for the guy making the game but still sort of cute, you can
use the 255 character (hold down ALT and hit 2, 5, 5) in files from
the command line. I've had loads of fun putting friends' important
files in nested directories consising of different amounts of ascii 255.
>OK in LFN only (checked in M$ Command, and the
>name is _~1):
>+.[]
>
>Not accepted by M$ Command as a filename:
>"*,/:;<=>?\|
Actually, you can use a comma in LFN's. I just tested it with edit. The
command line might not accept it without being in quotes, though.
--
| Mr. Gus | The Award for Free Advertising Goes To: http://www.fufme.com |
-- --
.!. USER - Jargon used by computer professionals. See Idiot.
--- SLRN v0.9.5.7
* Origin: Lying for over ten years! (disco-zombie.org)
- Raw text -