X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 1 Apr 2011 21:23:26 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bug when current directory has a trailling dot? Message-ID: <20110401192326.GG3669@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <318c5bae4eaf30595c8f54a8325ddd98 DOT squirrel AT correio DOT trt9 DOT jus DOT br> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <318c5bae4eaf30595c8f54a8325ddd98.squirrel@correio.trt9.jus.br> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 1 16:13, Heraldo Maciel França Madeira wrote: > Hello, > > I´ve noticed the following problem in accessing Windows executables from > specific directories. > > If the current directory has a dot-ended component directory, like > ~/x/y./z or > ~/x. then some weird things happen (in bash, and in sh, as well): > > ---------------------------------- > $ cd ~/x/y./z > $ /cygdrive/c/Windows/System32/netstat > bash: /cygdrive/c/Windows/System32/netstat: Not a directory File names with trailing dots or spaces are not valid Win32 paths, even though the underlying NTFS fileystems as well as Cygwin supports them. However, Cygwin refuses to start native WIn32 applications to start in directories which are not valid Win32 dirs. Also see http://cygwin.com/cygwin-ug-net/using-specialnames.html for more info about special filenames. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple