Cannot Delete File

  • Thread starter Thread starter PT
  • Start date Start date
P

PT

I'm trying unsuccessfully to delete a url link file [FILENAME.url] with a
very long name. It's the sole file at the bottom of a series of about five
otherwise empty sub-folders. Here's what I've done:

1. Using Windows Explorer, I select the file, and click Delete - nothing
happens.

2. I select the folder which contains the file and click delete, and get
the following error message:

"Cannot delete FILENAME. Cannot find the specified file. Make sure you
specify the correct path and file name."

3. I use the command prompt, and try to get to the folder holding the file
to use Del *.*. I get to the subdirectory one step above the subdirectory
containing the file. When I use CD LastFolder, I'm told it's an invalid
directory.

Apparently there's something wrong with the file, but I can't figure out how
to clear it away.

Please help.
 
PT said:
I'm trying unsuccessfully to delete a url link file [FILENAME.url] with a
very long name. It's the sole file at the bottom of a series of about five
otherwise empty sub-folders. Here's what I've done:

1. Using Windows Explorer, I select the file, and click Delete - nothing
happens.

2. I select the folder which contains the file and click delete, and get
the following error message:

"Cannot delete FILENAME. Cannot find the specified file. Make sure you
specify the correct path and file name."

3. I use the command prompt, and try to get to the folder holding the file
to use Del *.*. I get to the subdirectory one step above the subdirectory
containing the file. When I use CD LastFolder, I'm told it's an invalid
directory.

It would seem to be either trouble with the name of the LastFolder, or
more likely that that the total 'qualified name'- path right down to
that folder, plus the filename , (and probably without even including
the file) is too long

Use Explorer to rename parent folders with short names eg as
C:\a\b\c\d\. . ., to reduce the path length, then end using the DEL
method you were trying
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top