delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/02/16/11:36:15

From: dg AT dcs DOT st-and DOT ac DOT uk
Message-Id: <26993.9702161614@orkney.dcs.st-andrews.ac.uk>
To: opendos AT mail DOT tacoma DOT net
Subject: Re: ~OD: Re: [opendos] [OpenDOS] Wishlist part 2
In-Reply-To: davep@hagbard.demon.co.uk's message of Sat, 15 Feb 97 18:37:21
+0000.
<19970215183721 DOT 55934 AT hagbard DOT demon DOT co DOT uk>
Mime-Version: 1.0
Date: Sun, 16 Feb 97 16:14:35 +0000
Sender: owner-opendos AT mail DOT tacoma DOT net

[...]>> Wouldn't THAT be nice!  One problem though.  The characters that
>> are used in extended wildcards wouldn't be available as filename
>> characters.  ie: '[' and ']'  Or are they not allready?  Hmmm.
>
>That's a bloody good point, I didn't think about that. Well, I didn't
>think it thru that much at all, it was more a 'I wonder'.
[...]

Escape 'em.

Unfortunately, we can't use \ as DOS already uses that. We need another 
character that isn't used much... $, perhaps? Internal device names tend to 
have $ in the name, to prevent them being used by accident, so it might make a 
certain amount of sense. However, temporary files tend to use $:

	echo foo > %temp%\$tempzip.$$$

becomes

	echo foo > %temp%\$$tempzip.$$$$$$

Hmmm...


-- 
------------------- http://www-hons-cs.cs.st-and.ac.uk/~dg --------------------
   If you're up against someone more intelligent than you are, do something
    totally insane and let him think himself to death.  --- Pyanfar Chanur
---------------- Sun-Earther David Daton Given of Lochcarron ------------------


- Raw text -


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