Jump to content

Recommended Posts

Posted

Hi

 

I am trying to delete this PC of anything that has me on it (local chached things etc)

 

Theres one folder (shown below) where they are 3 files that it wont let me delete, and there is no option when i right click them, to enable me to rename them.

 

Any one have any ideas?

 

b8e1c3d08e40545e22e159afaf7a62c1.png

Here's the path of the files

 

64ebc967c3d879dc849f902ab9de72d9.png

Posted

I'm only guessing, but "Filename is too long for destination folder", destination folder presumably being the Recycle Bin.

Shift-Delete (or equivalent on Win8) or using the command line might work as that outright deletes it.

  • Thanks 1
Posted

i went into recycle bin properties and set it to automatically delete the file permanently, and still got that error.

 

shift-delete did not work, will try cmd line after my lunch :)

Posted

Download a copy of RoboCopy, create a folder called "Empty" Now run the command,

robocopy c:\empty diryouwanttoremove /mir

 

RoboCopy Mirrors the contents of the empty folder to the other directory deleting all of the contents. It will also remove deep folders without bothering you. Please remember that this will delete everything if you select the wrong destination folder.

Posted
i went into recycle bin properties and set it to automatically delete the file permanently, and still got that error.

To my knowledge, auto-empty-at-0% still has to move the file first, which it can't do if the name is stupidly long.

Like I say, I may be entirely wrong, but that's the only 'destination folder' I can think would apply here.

Posted (edited)

You can delete files like this via command line, just navigate to the directory and run "dir /x" to see the shortened version of the file name then delete it using that

 

EDIT: just to clarify, delete it at the command line i.e. "del shortened~1.doc"

Edited by LosOjos
Posted
You can delete files like this via command line, just navigate to the directory and run "dir /x" to see the shortened version of the file name then delete it using that

 

EDIT: just to clarify, delete it at the command line i.e. "del shortened~1.doc"

 

DEL SHORTE~1.DOC

8.3 ;)

  • Thanks 1
Posted

If you all go to this group question, lots of things you can do :

 

https://groups.google.com/forum/#!topic/microsoft.public.windowsxp.general/c8xqjKOTuR8

 

I do believe there was a comment somewhere that mentioned about renaming the folders / directories ( making them shorter ) thus bringing the character count down to hopefully below 255 which will then help with deleting files, failing that you should be able to cut and paste or move the directories into a folder on the root of the C Drive to try and make the path shorter as not so many directories / sub directories etc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...