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


Thanks for the suggestion Kleven, but neither did the suggestion below
work:

C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com>dir /x
 Volume in drive C is C Drive
 Volume Serial Number is 9C5F-537E

 Directory of C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com

01/18/2004  09:50p      <DIR>                          .
01/18/2004  09:50p      <DIR>                          ..
01/18/2004  07:19p              30,217 WCTPRO~1.ACT
wctPropInfo.action@lid=1&slid=40&product
=Hotel&type=PropertyInformation&lang=ENG&affiliateId=10006093&&hotelId=11275352&include=OVERVIE
W&did=4&numberAdults=1&numberRooms=1&additionalCurrency=&needDates=Y&debugXML=false
01/18/2004  07:19p              28,679 WCTPRO~4.ACT
wctPropInfo.action@lid=1&slid=40&product
=Hotel&type=PropertyInformation&lang=ENG&affiliateId=10006093&hotelId=10214456&include=OVERVIEW
&did=4&numberAdults=1&numberRooms=1&dateSelected=false&needDates=Y&debugXML=false
01/18/2004  07:19p              28,607 WCTPRO~2.ACT
wctPropInfo.action@lid=1&slid=40&product
=Hotel&type=PropertyInformation&lang=ENG&affiliateId=10006093&hotelId=10214461&include=OVERVIEW
&did=10&numberAdults=1&numberRooms=1&dateSelected=false&needDates=Y&&debugXML=false
01/18/2004  07:19p              28,458 WCTPRO~3.ACT
wctPropInfo.action@lid=1&slid=40&product
=Hotel&type=PropertyInformation&lang=ENG&affiliateId=10006093&hotelId=10214537&include=OVERVIEW
&did=14&numberAdults=1&numberRooms=1&dateSelected=false&needDates=Y&debugXML=false
               4 File(s)        115,961 bytes
               2 Dir(s)   2,398,576,640 bytes free

C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com>del WCTPRO~1.ACT
File Not Found

But trying to rename the long file OR the Dos file isn't permitted either:

C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com>REN WCTPRO~4.ACT
WCTPRO~7.ACT
The system cannot find the path specified.

C:\TEMP\downloads\nutch-2003-11-17\www.greece101.com>REN WCTPRO~4.ACT
TEST1.ACT
The system cannot find the path specified.

Any other suggestions?

Thanks,

Zeb

On Mon, 19 Jan 2004, Kleven Bingham wrote:

:If you have any trouble with the method below (which should work just
:fine, AFAICT) you should be able to rename the file in explorer to
:something much more friendly, i.e. delfile.dat, and then simply delete it.
:
:Seth Rubin wrote:
:
:>All DOS files are also stored in 8.3 name format.  Your file is probably
:>stored as WCTPRO~1.ACT
:>To see the 8.3 name belonging to a file, do DIR /X from a DOS window.  You
:>can fully use this name to access the file in question.  E.g.
:>
:>DEL WCTPRO~1.ACT
:>
:>-- Seth
:>
:>-----Original Message-----
:>From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
:>Of Aurangzeb M. Agha
:>Sent: Sunday, January 18, 2004 9:52 PM
:>To: Cygwin Mail List
:>Subject: Can't delete file
:>
:>
:>While running wget on a site I run, I ended up downloading the following
:>file:
:>
:>wctPropInfo.action@lid=1&slid=40&product=Hotel&type=PropertyInformation&lang
:>=ENG&affiliateId=10006093&hotelId=10214537&include=OVERVIEW&did=14&numberAdu
:>lts=1&numberRooms=1&dateSelected=false&needDates=Y&debugXML=false
:>
:>Problem is that now I can't get rid of it.  I'm guessing this is due to
:>the M$ char limit.  I've tried everything from:
:>
:>ls *wctProp* | xargs rm -f
:>
:>to 'rm -f *', but no luck.  Every time, I get the same thing:
:>
:>$ rm
:>wctPropInfo.action\@lid\=1\&slid\=40\&product\=Hotel\&type\=PropertyInformat
:>ion\&lang\=ENG\&af
:>filiateId\=10006093\&hotelId\=10214537\&include\=OVERVIEW\&did\=14\&numberAd
:>ults\=1\&numberRooms\=1
:>\&dateSelected\=false\&needDates\=Y\&debugXML\=false
:>rm: cannot remove
:>`wctPropInfo.action@lid=1&slid=40&product=Hotel&type=PropertyInformation&lan
:>g=ENG&
:>affiliateId=10006093&hotelId=10214537&include=OVERVIEW&did=14&numberAdults=1
:>&numberRooms=1&dateSelec
:>ted=false&needDates=Y&debugXML=false': File or path name too long
:>
:>Anyone have any idea what I can do?  I've tried to remove from a Dos
:>window, Windows Explorer, but no luck.
:>
:>
:>Thanks,
:>
:>Zeb
:>
:>--
:>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/
:>
:>
:>--
:>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/
:>
:>
:>
:
:

-- 
Aurangzeb M. Agha     | Email : ama@mltp.com
                      | Home  : +1 413 586.4863
                      | Pager : +1 413 785.7568
                      |       : 4137857568@myairmail.com
73 Bridge St. #15     | Mobile: <coming soon>
Northampton, MA 01060 | e-Fax : +1 978 246.0770
USA                   | PGP id: <coming soon>


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


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