How To Shorten File NamesTto Delete

C

Chris B

I am running Windows XP Professional Media Center Version. I have a
folder which I cannot delete and when I try I get this error message: "Error
Deleting File or Folder. (X) cannot delete images: the file name you
specified is not valid or too long specify a different name." I can't
change the names, but, have a long line of folders with the name "images"
and then a final one with one final folder "images" and an actual image file
which I cannot open. How do I shorten up this whole mess so I can delete
it?
Any ideas? Thank you very much!


Chris.
 
W

Wesley Vogel

Path Too Long

To work around this problem, reduce the length of the path to less than 256
characters.

In Windows Explorer, select the folder one level above the folder that
returns the error. Right-click the folder returning the error and then click
Rename. Rename the folder to reduce the number of characters used in the
folder name.

Rename the folder so that the target files that are deeper than the MAX_PATH
no longer exist. If you do this, start at the root folder (or any other
convenient place), and then rename folders so that they have shorter names.

Rename subfolders in the path to a file so that the total path or file name
is less than the max_path setting or 256 characters. Start with subfolders
that are closer to the root so that you are always working with less than
256 characters.

See other resolutions here...

Files exist in paths that are deeper than MAX_PATH characters
http://support.microsoft.com/default.aspx?scid=kb;en-us;320081#XSLTH3159121122120121120120

You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/default.aspx?scid=kb;en-us;320081

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

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

Top