SoftwareTipsandTricks Forum

Go Back   SoftwareTipsandTricks Forum > Operating Systems > Windows XP
User Name
Password


empty filder that will NOT delete

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes

  #1  
Old 02-19-2005, 09:17 PM
hnjbrown Offline
Registered User
 
Join Date: Feb 2005
Location: Iowa
Posts: 2
empty filder that will NOT delete

My OS is windows xp home edition with service pack 2. I have an empty sub folder (directory) in "My Music" folder that I am unable to delete. When I try to delete it, I get the following error message: "Error deleting file or folder" cannot delete file: cannot read from the source file or disk. I have tried to delete it in both safe mode and dos mode. I have disabled indexing service. I tried to get rid of it using killbox and moveonboot. The folder is empty. It is not set to read only. I am at my wits end. It takes up no space on my drive (0KB) I just don't like it being there. My drive is compressed, all the folder names have blue text indicating that they are compressed, except the one that will not die, the file name text is black.
Any suggestions ?????

Thank you
H. Brown
Reply With Quote

  #2  
Old 02-19-2005, 11:05 PM
Miz Offline
Registered User
 
Join Date: Feb 2004
Location: Kansas
Posts: 1,680
Sometimes turning off the Indexing service in Control Panel>Administrative Tools>Services will allow you to delete a stubborn file or folder.

In this case, though, it might be easier to use MoveOnBoot. It will move or delete the files you tell it to on the next bootup, before Windows loads and can interfere.
Reply With Quote

  #3  
Old 02-20-2005, 10:31 PM
hnjbrown Offline
Registered User
 
Join Date: Feb 2005
Location: Iowa
Posts: 2
I tried moveonboot. It didn't work. Any other ideas?
Reply With Quote

  #4  
Old 02-21-2005, 01:26 AM
Cache's Avatar
Cache Offline
ST&T Secret Police
 
Join Date: Jun 2004
Location: UK
Posts: 616
did you stop any instances of windows explorer running at the time you tried to delete the folder from DOS?
Reply With Quote

  #5  
Old 02-21-2005, 09:09 AM
HalOfBorg's Avatar
HalOfBorg Offline
Registered User
 
Join Date: Feb 2005
Posts: 72
I read the following solution - I THINK it was on this forum, might not be, about the same issue. It DID resolve the problem:

This happens under XP. A file or folder will NOT delete. It is 'IN USE' - usually by something that you HAVE shut down!

Rebooting has always worked for me, but not for all people. One person with a corrupt filename (or other oddity) had this problem.

Only thing that worked was:

Try going to a command prompt in the directory above the one you want to delete and typing:


attrib -r -s -h directoryname\*.* /s
rd directoryname /s/q


where directory name should be obvious. If that doesn't work, try killing the explorer process and repeating the above steps.


NOTE: This worked for a person where ALL other attempts and utilities failed in ANY WinXP or BOOT DISK mode.

Not known if the 'kill explorer process' had to be done. I HAVE shut down explorer.exe (NOT iexplore - that is Internet Explorer) before from Ctrl-Alt-Del (Task Manager), and to restart it did FILE - NEW TASK(Run). Type 'explorer' and hit ENTER. This rereads the registry, works fine, no crash under XP.
__________________
There are 10 different kinds of people in the world:
Those who understand binary, and those who don't.

www.bnbclan.tk
BnB Clan ENEMY TERRITORY
Reply With Quote

  #6  
Old 03-20-2005, 03:53 AM
bazza100 Offline
Registered User
 
Join Date: Mar 2005
Posts: 1
Safe Mode

Quote:
Originally Posted by hnjbrown
My OS is windows xp home edition with service pack 2. I have an empty sub folder (directory) in "My Music" folder that I am unable to delete. When I try to delete it, I get the following error message: "Error deleting file or folder" cannot delete file: cannot read from the source file or disk. I have tried to delete it in both safe mode and dos mode. I have disabled indexing service. I tried to get rid of it using killbox and moveonboot. The folder is empty. It is not set to read only. I am at my wits end. It takes up no space on my drive (0KB) I just don't like it being there. My drive is compressed, all the folder names have blue text indicating that they are compressed, except the one that will not die, the file name text is black.
Any suggestions ?????

Thank you
H. Brown

Hi H. I have had the same problem myself with XP Home, I simply rebooted into safemode by pressing F8 as the system boots and deleted the files/folders from there without any trouble.

Bazza100
Reply With Quote

  #7  
Old 03-22-2005, 09:43 PM
mgriffit's Avatar
mgriffit Offline
Registered User
 
Join Date: Mar 2005
Posts: 34
The My Music (and My Pictures, My Downloads, My Videos, etc..) are not always real folder names. They are just pointers to another folder, typically under the "Documents and Settings\user name\... " tree. So you may have already deleted the real location and this pointer doesn't know what to do. You can download a powertoy from Microsoft called TweakUI.
http://www.microsoft.com/windowsxp/d...powertoys.mspx

After installing, expand My Computer option, then click on Special Folders. In the right pane, you'll see a pull down list. Find My Music about halfway down the list. This will show you where the folder really is and also gives you the option of moving it. You will need to logoff/on after changing anything.

In the event that you still can't delete a folder. you will need to unhide/unsystem/unread-only everything in the folder. Start/Run .. Cmd.exe
cd to folder
dir /a -- shows any hidden files
attrib -r -s -h *.* -- will allow you to delete any hidden/sys files
del * -- deletes the files
cd ..
rd foldername -- delete the folder

(there is a simpler much more dangerous way, so i will give you this method instead :-)
have fun
Reply With Quote

  #8  
Old 03-22-2005, 10:47 PM
Overclocked Doc Offline
Senior Member
 
Join Date: Jul 2004
Location: Canada
Posts: 706
Here's a simple fix! :

You simply need to drag the folder you wish to delete into the previous folder so that it appears along side it rather than in it.

So for example, if you have a folder "A" which, when opend contains "B" inturn when opened contains "C"...and so on, you must move folder "C" into the same folder as"B". Sounds complicated, but it's quite simple! Once "C" is moved along side "B", they will both appear when you open file "A". From there
"C" can be deleted.

Try it!
Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Delete File On Desktop. soulm4t3 Windows XP 40 04-13-2008 08:37 PM
Not able to delete user account redwrench202 Windows XP 18 08-21-2007 10:24 PM
Unable to delete folders on NTFS partition diablo7877 Windows XP 6 04-13-2005 01:45 AM
Can't delete files in Shared Documents slickity Windows XP 3 06-22-2004 04:38 PM
can't delete an empty folder!!! hsa Windows XP 1 11-25-2003 01:59 PM



All times are GMT -5. The time now is 12:27 AM.


Designed by eXtremepixels. Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.