delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/06/22:24:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.0.25.0.20010106174107.00a83d50@pop.mail.yahoo.com>
X-Sender: rjoffe AT pop DOT mail DOT yahoo DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Sat, 06 Jan 2001 22:23:18 -0500
To: cygwin AT cygwin DOT com
From: Ron Joffe <rjoffe AT yahoo DOT com>
Subject: ls command failing
Mime-Version: 1.0

I have a new install of cygwin on an NT4.0 Server

In NT I have a share mapped to the nt o: drive

I have created a mount for o:. The mount command outputs the following:

Device              Directory           Type         Flags
C:\cygwin\bin       /usr/bin            system       binmode
C:\cygwin\lib       /usr/lib            system       binmode
C:\cygwin           /                   system       binmode
o:                  /o                  user         textmode

I have created a small bash script, which contains the following:

#! c:\cygwin\bin\bash
ls /o/blah/blah/blah/blah/blah/files
exit

The /o/blah/blah/blah/blah/blah/files is the directory path.

The bash script is executed from a windows command prompt as

c:\> bash shell_file.sh

the return is:

ls: /o/blah/blah/blah/blah/blah/files: No such file or directory

if I change the shell script to:

#! c:\cygwin\bin\bash
cd /o/blah/blah/blah/blah/blah/files
ls
exit

It works just fine and outputs a directory listing.

Any help would be great.

Thanks,

Ron


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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