delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/06/14:24:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: problem with finding case-sensitive filenames when running DOS batch command with bash shell
Date: Wed, 6 Oct 2004 11:24:23 -0700
Message-ID: <D1F33C67F65972439ECA4B6BD0B18E7303725420@exchsg01.s3graphics.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: <DFong AT s3graphics DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i96IOU0T020398

Hi,

I'm running cygwin bash shell and have set
the parameters

~/.bashrc

shopt -s nocaseglob

~/.inputrc

set completion-ignore-case on

but I'm still having problems with running a DOS batch command that will not be case-sensitive.

x.bat
dir /s /b filename.txt (I want it to match with name like fileNAME.txt and return filename.txt)

If I run this x.bat under cygwin bash shell
the return from dir /s /b command is "file not found".

What else do I need to set in DOS or bash shell environment
to allow "dir /s /b" to make the directory search for filename to be case-insensitive?

David



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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