Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'earnie_boyd AT yahoo 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) Content-Type: text/plain; charset="iso-8859-1" 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 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: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ 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