Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can not delete folder HELP am going mad !!

23 Mar 2011   #1
chrisnewton

windows 7 premium 64 bit
 
 
Can not delete folder HELP am going mad !!

Hi all

I have a problem thats really really starting to get to me lol

I had a folder that had loads of kindle books in it that i tried to delete, however it would not delete some of them because the file name was to long ?? i managed to get rid of all of them expect these 2 folders which would not delete because of long names, i dragged the folder to my desktop and tried again and now i am getting the following message

"the file is no longer located in C: etc etc etc verfity the items loacation and try again.

i have put the folder back in original location but still no joy !

I have tried going through the command promp and sure enough its there and when i try and delete thorugh dos it asks me if i am sure i say Y and still its there????

any ideas anyone this is driving me mad


My System SpecsSystem Spec
23 Mar 2011   #2
fseal

Windows 7 x64 Ultimate
 
 

Heh this is a troublesome one.

There are some programs on the net that will delete the file, but you can try a couple of things yourself.

1) Simply rename the file to a single character name. Then try to delete.
2) Try renaming folders that are in the path if you can to one character names (but don't rename any system folders like "user" of course). Try to delete.
3) Got this from the net:
Another option is deleting the files from the cmd prompt.
Start > Run > "cmd" Enter.
cd to the folder one level up from the one that contains the files that won't delete, and use the rd command like "rd /s /q folderwithbadfilenames" Enter
4) Look for a utility on the net. There are several, some for pay and some suspecious looking :P I can't give advice on a good one.
5) Write a program in c or something to delete the pathname...

The crux of the problem (and it's dissapointing that it's still there) is that NTFS can handle pathnames that are 4096 characters olng but windows explorer can only handle names that are 256 chars or shorter

So programs can handle them fine but as a user through explorer this can happen...
My System SpecsSystem Spec
23 Mar 2011   #3
chrisnewton

windows 7 premium 64 bit
 
 

thanks for your quick reply, when i try to rename the folder it says

could not find this item the folder is no longer located on c: blah blah etc

can you explain what you mean by the RD command a bit more??

thanks again

Chris
My System SpecsSystem Spec
23 Mar 2011   #4
Sardonicus

Windows 7 Home Premium 64 bit
 
 

I had a folder I couldn't delete.
I booted into the safe mode and was able to delete it.
My System SpecsSystem Spec
23 Mar 2011   #5
chrisnewton

windows 7 premium 64 bit
 
 

i tried the safe mode suggestion but still no luck, i have gone through dos and deleted eveything in the folder but it wont let me delete the actual folder, when i click on the folder it says location is not available etc etc refers to a location that is unavailable, it could be on the hard drive of this computer or on a network arrghhhhhhhhhhhh there must be a way !!
My System SpecsSystem Spec
23 Mar 2011   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Chris, and welcome to Seven Forums.

You might see if you may be able to use the free program Unlocker to delete the folder.

Hope this helps,
Shawn
My System SpecsSystem Spec
23 Mar 2011   #7
fseal

Windows 7 x64 Ultimate
 
 

Well the rd command I got from the net, but lets say the path was "C:\one\two\three\file.ext"
You would open a command prompt at "C:\one\two" (Or "cd" to that folder)
Then type the command "rd /s /q three" and it will delete the "three" folder and all files in it.

Now this is assuming that the folder "three" is expendable

Info on the rd command:
MS-DOS rd and rmdir command help

and

Folder - Delete from Command Prompt

I do not know if this works myself though...
My System SpecsSystem Spec
24 Mar 2011   #8
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

The file manager in 7-zip will delete everything, it is much more powerful than explorer or many other file managers.

Explorer has some severe limitations.

7-Zip

<http://www.7-zip.org/>

32 and 64 BIT freeware.

Regards....Mike Connor
My System SpecsSystem Spec
24 Mar 2011   #9
Orbital Shark

 
 

Hi,

You could try resetting all folders to see if it helps...

Name:  Folder Options 2.PNG
Views: 35
Size:  44.8 KB

I've seen many issues with folders not deleting until a refresh (F5) is performed and it has helped. Your issue sounds very similar in the fact that...

1, You may have already deleted the folder and Windows folder view has broken and needs resetting
2, When the folder view is broken deleted folders will still show. There'll be no error with the 1st delete but every delete after


OS


My System SpecsSystem Spec
24 Mar 2011   #10
patio

Vista Ultimate X64/ Windows 7 Dual-boot
 
 

Is the folder empty ? ?
My System SpecsSystem Spec
Reply

 Can not delete folder HELP am going mad !!




Thread Tools





Similar help and support threads
Thread Forum
Pls help!! Cant delete folder
Hi I was trying to delete a 2nd operating system of my computer i cant seem to Take owner ship of these 2 files. PLS HELP THANK YOU SO MUCH!:cry:
General Discussion
Can't delete folder (tried everything!)
Hello! My name is Ronnie, and I have tried pretty much every single way on how to delete a folder that simply won't go away. Some background...on my desktop, I have a folder called "Paul Ryan Hypocrisy on Specifics" (I do YouTube videos, and that happened to be one of my videos), and there is...
General Discussion
HELP Me delete this Folder Please
Hi i have a folder that will not let me delete it, I have tried to change permissions but do not really know what I am doing so any advice would help.
General Discussion
Not able to delete folder in folder infinite structure.
I was using Netbeans IDE and xampp, It crashed when I moved a project using its function, and when I checked out the folder it had infinite folder in folder structure. Its not possible to delete it , I can not open more than below . . ...
General Discussion
Not able to delete folder..Plz help
Hello all, I am using win 7 . I have installed updates for same. After update i hv observered that there are folders name like " 8c3649242c5f5bfe0f4045a93f ". i want to delete them but i am getting an error that " you required permission to perform this task." and i am single user...
General Discussion
Can't delete folder(s)
I have a little problem in here with deleting 2 folders under W7. You can see the problem from the pic below, Windows just tells me that i DO NOT have any permissions to change/view permissions or to delete this. This problem has only occured with "Ventrilo server" folders. I also can't...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App