www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/03/23:07:57

From: mrgus AT zombie DOT net (Mr. Gus)
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: Weird Characters in Filenames
Date: 4 Dec 1999 03:02:53 GMT
Organization: Disco-Zombie.Net
Lines: 42
Message-ID: <82a08t1161b@enews4.newsguy.com>
References: <82988f$v00$1 AT newsg1 DOT svr DOT pol DOT co DOT uk> <47Y14.700$_j4 DOT 22367 AT dfiatx1-snr1 DOT gtei DOT net>
NNTP-Posting-Host: p-782.newsdawg.com
x-no-archive: yes
User-Agent: slrn/0.9.5.7 (UNIX)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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