This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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\>dir /x  

  Here, maybe this will work: try shortening the overlong path by doing
something like this:

cd \temp\downloads
ren nutch-2003-11-17 x
move x \
cd \x
ren y
cd \x\y
del wctpro~1.act

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\" 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
>rm: cannot remove
>ted=false&needDates=Y&debugXML=false': File or path name too long

that what might otherwise be a legit pathname is becoming too long.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]