Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3CD497B9.1010507@ece.gatech.edu>
Date: Sat, 04 May 2002 22:23:53 -0400
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Robert Collins <robert.collins@itdomain.com.au>
CC: cygwin@cygwin.com
Subject: Re: setup.exe (2-194-2-26) - blind or stupid?
References: <FC169E059D1A0442A04C40F86D9BA7600C5FC6@itdomain003.itdomain.net.au>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

Robert Collins wrote:


> 
>>And, one more problem. Or not a problem?
>>I'm not have to see directories like http%3someone. His name (contains
>>percents) potentially destructive.
>>
> 
> Whats destructive about a %? Its not an escape character for shell utilities or windows AFAIK.

Actaully, it's the variable replacement character for command.com and 
cmd.exe, similar to the $ char in every other shell known to mankind, 
except that the variable must be prefixed AND appended with the % char:

 > echo %USERNAME%
cwilson
 >

However, I don't see how that could cause a problem -- unless someone 
was attempting to TYPE the directory name by hand into a command.com 
shell (without bash)...and even THEN it probably wouldn't HURT anything...

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

