Can't delete file

Kleven Bingham nospam@nospam.net
Mon Jan 19 15:38:00 GMT 2004


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



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



More information about the Cygwin mailing list