This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: ls command failing
- To: Ron Joffe <rjoffe at yahoo dot com>,cygwin at cygwin dot com
- Subject: Re: ls command failing
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Sun, 07 Jan 2001 21:31:22 -0500
At 10:23 PM 1/6/2001, Ron Joffe wrote:
>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.
cygcheck -s -r -v might help. Also, it would be good to know if /o
exists as a directory...
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple