www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/10/12:40:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <80CB4C7E7DE1D311950600508BA5831F23FC08@neptune.commerceone.com>
From: Derek Haskin <derek DOT haskin AT commerceone DOT com>
To: "'earnie_boyd AT yahoo DOT com'" <earnie_boyd AT yahoo DOT com>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Bug. "File or path name too long"
Date: Fri, 10 Mar 2000 09:39:12 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Earnie thanks for the quick response. But I think I should have provided you
with more information.

The path/file name I am passing is 117 characters in length which is under
the 259 character limit.

From a dos command prompt I ran two commands. The first using dos "dir"
command which works fine.
Then I ran the ls command using the same parameter and I get the "File or
path name too long" problem.
So to me this indicates that it is a problem specific to the bash shell
commands.

I get the same problem when I use other bash shell commands such as "cp".


THIS "dir" COMMAND WORKS
------------------------

>dir
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox
\AlternateTradingPartnerID.class
 Volume in drive D has no label.
 Volume Serial Number is B8F5-71F4

 Directory of
D:\builds\home\projects\marketsite\CommercePlatform_30\2000_03_09_14_41\ccs\
classes\com\commerceone\ccs\doclet\registration\Registration_sox

03/09/00  05:32p                 1,214 AlternateTradingPartnerID.class
               1 File(s)          1,214 bytes
                         48,662,761,472 bytes free



THIS "ls" COMMAND DOES NOT WORK
-------------------------------

>ls
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox\AlternateTradingPartnerID.class
ls:
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox\AlternateTradingPartnerID.class: File or path name too long


Please advise.

thanks
derek.

-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
Sent: Friday, March 10, 2000 6:34 AM
To: Derek Haskin; 'cygwin AT sourceware DOT cygnus DOT com'
Subject: Re: Bug. "File or path name too long"


The path size limit is set by MAX_PATH and is a limitation of the M$ Windows
system.  It's set to 260 which is the NT limit including the terminating
NULL. 
I believe the limit to be 259 for Win9x (at least Win95).

--- Derek Haskin <derek DOT haskin AT commerceone DOT com> wrote:
> I have installed Cygwin 1.0 on a new Machine.
> 
> I am experiencing a problem where it seems that I am reaching the limit on
> how long a path/filename can be.
> I first experienced this during "make" which tries to create a class file
> but can;t because the pathname/filename is too long.
> 
-8<-

=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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