Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Unable to Delete a Folder(s)

Thread Tools
 
Search this Thread
 
Old 15th Feb 2006, 23:23
  #1 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
Unable to Delete a Folder(s)

The kids have created a folder in which there is another folder in which there is another two folders.

All four folders are said to be 0bytes in size.

The thing is none of them can be deleted.

When I try to delete up pops a message:

Cannot delete <filename>:Cannot find the specified file.
Make sure you specify the correct path and file name.


Anyone with ideas as to how I get rid of them?
dwlpl is offline  
Old 15th Feb 2006, 23:43
  #2 (permalink)  

Official PPRuNe Chaplain
 
Join Date: Apr 2001
Location: Witnesham, Suffolk
Age: 80
Posts: 3,498
Likes: 0
Received 0 Likes on 0 Posts
Are they still there after you've restarted the machine? Some file managers will continue to display folders after they've been deleted.

What process are you using to delete them? Normally, Windows Explorer, tab down to them, then click on them and "File" - "Delete" will do the job.
Keef is offline  
Old 15th Feb 2006, 23:57
  #3 (permalink)  
TheVillagePhotographer.co.uk
 
Join Date: Nov 2004
Location: Cotswolds UK
Posts: 1,078
Likes: 0
Received 0 Likes on 0 Posts
If I get this problem - and it isn't that rare - then go to the last subfolder and delete. Then work back up until you get to the folder you originally tried to kill. Delete that one too. Haven't a clue why it should work this way, but it seems to for me...

Conan
Conan the Librarian is offline  
Old 16th Feb 2006, 21:13
  #4 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Keef
Are they still there after you've restarted the machine? Some file managers will continue to display folders after they've been deleted.
What process are you using to delete them? Normally, Windows Explorer, tab down to them, then click on them and "File" - "Delete" will do the job.
I right click the icon and select 'Delete' or I drag and drop into the Recycle Bin.

Either way it won't let me.
dwlpl is offline  
Old 16th Feb 2006, 21:14
  #5 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Conan the Librarian
If I get this problem - and it isn't that rare - then go to the last subfolder and delete. Then work back up until you get to the folder you originally tried to kill. Delete that one too. Haven't a clue why it should work this way, but it seems to for me...
Conan
Have tried that and the four folders are still there!!!!!!!
dwlpl is offline  
Old 16th Feb 2006, 21:33
  #6 (permalink)  
Sellby_date Expired
 
Join Date: Jan 2003
Location: East Anglia
Age: 83
Posts: 169
Likes: 0
Received 0 Likes on 0 Posts
Right click on file,look in Properties, and make sure READ ONLY not ticked.
terryJones is offline  
Old 16th Feb 2006, 22:52
  #7 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
Just tried that.

Two out of the four folders will let me deselect the read only button, but they will still not allow me to delete the folder.
dwlpl is offline  
Old 17th Feb 2006, 00:24
  #8 (permalink)  
Sellby_date Expired
 
Join Date: Jan 2003
Location: East Anglia
Age: 83
Posts: 169
Likes: 0
Received 0 Likes on 0 Posts
see if you can delete it in a DOS window (If you are happy in dos)
Start>Run type "command com" without the quotes, then navigate to the files and delete them.
Type "exit" to get back out.
terryJones is offline  
Old 17th Feb 2006, 07:37
  #9 (permalink)  
 
Join Date: Jan 2002
Location: UK
Posts: 425
Likes: 0
Received 0 Likes on 0 Posts
There is a facility in HijackThis: http://www.download.com/HijackThis/3...-10227353.html, under 'Misc Tools' to select and delete on reboot any file that Windows is unable to.

NB:'Misc Tools' may need to be accessed via 'Config' if not immediately obvious; depends on initial window opening on first and subsequent use.
BLUE SKY THINKER is offline  
Old 17th Feb 2006, 18:37
  #10 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by terryJones
see if you can delete it in a DOS window (If you are happy in dos)
Start>Run type "command com" without the quotes, then navigate to the files and delete them.
Type "exit" to get back out.
Not well up on DOS.

How do you navigate to the Desktop from DOS and then delete the files?
dwlpl is offline  
Old 17th Feb 2006, 19:35
  #11 (permalink)  
 
Join Date: Aug 2005
Location: fairly close to the colonial capitol
Age: 56
Posts: 1,693
Likes: 0
Received 0 Likes on 0 Posts
DWLPL, after you get to the DOS prompt type this:

CD DESKTOP
(changes the working directory)

to find the offending file/folder do a DIR read:
type DIR
You will see a list of the contents of your desktop and might need to scroll around a bit.

Now the fun part:

Type RMDIR /S FOLDERNAME
where foldername is the name of the offending folder. Note that if the Folder name contains spaces enclose the name within quotes.

Example to kill Out damn Folder we would type:
rmdir /S "out damn folder"

Note that each DOS command needs to be followed by the ENTER key to execute.
Good luck !

When you are done type EXIT and hit ENTER.

PS if this won't fly - take BST's advice and get Hijack this - excellent tool and entirely legit despite its' name.
vapilot2004 is offline  
Old 17th Feb 2006, 20:36
  #12 (permalink)  
PersonalTitle to help support PPRuNe against legal bullying.
 
Join Date: Sep 2005
Location: France
Posts: 134
Likes: 0
Received 0 Likes on 0 Posts
First things first...

Before you install anything to do the job, just reboot and then try to delete these files.

The file could simply be locked by a process that is not an application (i.e it has no visual components) so even after you have closed all your applications there is still a program which has a file handle open and blocks explorer from deleteing it.

If you have a cmd window open and explorer open, you can try dragging these folders into the cmd window - this (normally) prompts the cmd window to auto type the full path of this folder. You will then see the 'real' name of this folder (in quotes) and can use the above advice to remove the files in cmd using this path name.

Consider booting into safe mode and deleteing the files.

As they are zero bytes then they take up no space and you could ignore them?
tallsandwich is offline  
Old 19th Feb 2006, 07:40
  #13 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 1,236
Likes: 0
Received 0 Likes on 0 Posts
With thanks to all above I have managed to get rid of the folders using the DOS (using vapilot2004 step-by-step post) method.
dwlpl is offline  
Old 19th Feb 2006, 07:59
  #14 (permalink)  
 
Join Date: Apr 2004
Location: Civ/HAL/SHY/FYY/PWK/AAS/WAD/AVI/GPT/BZN/BSN/WAD/BAS/FLK/WIT/MND/WAD/WIT/WAD/Civ
Posts: 373
Likes: 0
Received 0 Likes on 0 Posts
try these

there are 2 methods I can think of for deleting the folders:
1.
Boot to safe mode (Hold F8 during boot & select Safe Mode) so that minimum drivers/progs are run on bootup
Delete the folders using win explorer (cascading backwards if neccessary)

2.
Boot to DOS (hold F8 during boot & select DOS prompt)
if the folders are named as follows C: \windows\reallylongfoldername\evenlongerfoldername then type the following
cd\windows
cd\really~1 (this is the DOS name for folders using the 8-3
(filename system e.g. filename.ext)
cd\evenlo~1
del *.* (deletes everything from last folder)
cd..
rd\evenlo~1 (deletes the last folder)
del *.* (deletes everything from remaining folder)
cd..
rd\really~1 (deletes the remaining folder)



I hope this works, I'm at work at the moment and am typing this from memory!

************* OOPS! - You solved it while I was typing ***************

Last edited by unclenelli; 19th Feb 2006 at 16:45.
unclenelli is offline  
Old 19th Feb 2006, 11:55
  #15 (permalink)  
Sellby_date Expired
 
Join Date: Jan 2003
Location: East Anglia
Age: 83
Posts: 169
Likes: 0
Received 0 Likes on 0 Posts
dwlpl
Sorry I did not get back to you quickly, other matters apart from PPrune I'm afraid, but still, the idea was right and I am glad to see that vapilot2004 told you anyway.

Powerful tool is DOS...

Edited to spel Matters write...
terryJones is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.