delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/19/20:23:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 19 Jan 2004 17:22:52 -0800 (PST)
From: "Aurangzeb M. Agha" <ama-list AT mltp DOT com>
X-X-Sender: aagha AT cinemaspace DOT berkeley DOT edu
Reply-To: ama-list AT mltp DOT com
To: dk AT artimi DOT com
cc: Cygwin Mail List <cygwin AT cygwin DOT com>
Subject: RE: Can't delete file
Message-ID: <Pine.LNX.4.58.0401191716520.13160@cinemaspace.berkeley.edu>
MIME-Version: 1.0
X-cinemaspace.berkeley.edu-MailScanner-Information: Please contact the ISP for more information
X-cinemaspace.berkeley.edu-MailScanner: Found to be clean

Dave --

That worked!  Thank goodness, I thought I'd have to live with an unwanted
folder forever.

I'm curious--was what you suggested possible just because I was lucky?
What if the names of the files had been even longer; would your suggestion
not have worked?!

Thanks so much.

Sincerely,

Zeb


> Date: Mon, 19 Jan 2004 15:51:32 -0000
> From: Dave Korn <dk AT artimi DOT com>
> To: 'Cygwin Mail List' <cygwin AT cygwin DOT com>
> Subject: RE: Can't delete file
>
>
>
> > -----Original Message-----
> > From: cygwin-owner On Behalf Of Aurangzeb M. Agha
>
> > Thanks for the suggestion Kleven, but neither did the suggestion below
> > work:
> >
> > C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com>dir /x
>
>   Here, maybe this will work: try shortening the overlong path by doing
> something like this:
>
> ---snip---
> C:
> cd \temp\downloads
> ren nutch-2003-11-17 x
> move x \
> cd \x
> ren www.greece101.com y
> cd \x\y
> del wctpro~1.act
> ---snip---
>
> so that the file ends up being called C:\x\y\wctPropInfo(...snip!); with
a
> bit of luck, reducing the
> "C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com" path part of the
> filename to "C:\x\y" might make the overall filename enough shorter to
fit
> within the maximum path length.  It does seem as if, because Bash feels
the
> need to escape all the embedded equals, ampersand, and at signs:
>
> >$ rm
> >wctPropInfo.action\@lid\=1\&slid\=40\&product\=Hotel\&type\=PropertyInf
> >ormat
> >ion\&lang\=ENG\&af
> >filiateId\=10006093\&hotelId\=10214537\&include\=OVERVIEW\&did\=14\&num
> >berAd
> >ults\=1\&numberRooms\=1
> >\&dateSelected\=false\&needDates\=Y\&debugXML\=false
> >rm: cannot remove
> >`wctPropInfo DOT action AT lid=1&slid=40&product=Hotel&type=PropertyInformatio
> >n&lan
> >g=ENG&
> >affiliateId=10006093&hotelId=10214537&include=OVERVIEW&did=14&numberAdu
> >lts=1
> >&numberRooms=1&dateSelec
> >ted=false&needDates=Y&debugXML=false': File or path name too long
>
> that what might otherwise be a legit pathname is becoming too long.
>
>
>     cheers,
>       DaveK

--
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