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

Chris
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
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

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

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

 
 

Hi,

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

Name:  Folder Options 2.PNG
Views: 26
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

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 for2: Can not delete folder HELP am going mad !!
Thread Forum
Not able to delete folder in folder infinite structure. General Discussion
Can't Delete a Folder. General Discussion
Cannot delete a folder General Discussion
Solved Trying to delete folder General Discussion
Can't delete folder :| W7 HE x64 General Discussion
Can't delete a folder... General Discussion
can't delete folder 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 06:14 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33