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

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

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

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

My System SpecsSystem Spec

23 Mar 2011   #4

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

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

64-bit Windows 10 Pro

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,
My System SpecsSystem Spec
23 Mar 2011   #7

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


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.



32 and 64 BIT freeware.

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



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

Can not delete folder HELP am going mad !!-folder-options-2.png

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


My System SpecsSystem Spec
24 Mar 2011   #10

Vista Ultimate X64/ Windows 7 Dual-boot

Is the folder empty ? ?
My System SpecsSystem Spec

 Can not delete folder HELP am going mad !!

Thread Tools

Similar help and support threads
Thread Forum
'Folder in use!' message, I can't delete/move this folder, help!
'Folder in use! The action can't be completed because the folder or a file in it is open in another program. Close the folder and try again.' This is the message I get, I want to delete the folder since I no longer need it. The folder contains ScpControl.dll and.ScpService.exe. I haven't found...
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
Can't Delete Folder
I keep getting this error when I try to deleted the folder; I unchecked and applied Read Only, but the box stayed checked like that. I'm logged in as myself, which is an administrator account
General Discussion
Can't delete a folder
Whatever I try, I cannot delete this folder. I've tried to rename it, added files to it, safe mode, nothing works. I might have to format the partition. Any ideas?
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 01:34.
Twitter Facebook Google+