Unable to delete folder - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 05-15-2005, 08:59 PM   #1 (permalink)
Junior Techie
 
Join Date: Feb 2005
Posts: 90
Default Unable to delete folder

Hi everyone just a quick question. I have an empty folder on my HD and i cant seem to delete it. Everytime i try and delete it it says that the file is in use or it is write protected. I have tried starting in safe mode and using the command line but i still cant seem to get rid of it. Any help would be greatly appreciated as this problem is really starting to annoy me
__________________

__________________
Gigabyte GA-7vm400m
Via VT8235 Chipset
AMD Athlon XP2400+ Cpu
1024 Mb DDR400 RAM
160gb Maxtor H/D
Nvidia GeForce 6600 GT Video Card
Win Xp Pro
cerberus98 is offline  
Old 05-15-2005, 09:06 PM   #2 (permalink)
PC Cutie ^_^
 
Seria's Avatar
 
Join Date: Sep 2004
Posts: 553
Default

Have you checked the folders properties and made sure that the folder is not "read-only"?

Is there a program that thinks that it needs that folder?

Have you tried starting the computer in normal mode and attempted to delete it before you do anything else?

Is it a system folder?
__________________

__________________
Seria is offline  
Old 05-15-2005, 09:11 PM   #3 (permalink)
Junior Techie
 
Join Date: Feb 2005
Posts: 90
Default

I have made sure the folder is not read only, the folder only contained a few mp3s so i dont think any program should think it needs it. yes i have tried to delete it first up. And no its not a system folder. As you can see this problem is really starting to get the better of me. I bet the solution is so simple and its just something ive overlooked. Also thank you for the speedy response
__________________
Gigabyte GA-7vm400m
Via VT8235 Chipset
AMD Athlon XP2400+ Cpu
1024 Mb DDR400 RAM
160gb Maxtor H/D
Nvidia GeForce 6600 GT Video Card
Win Xp Pro
cerberus98 is offline  
Old 05-15-2005, 09:16 PM   #4 (permalink)
PC Cutie ^_^
 
Seria's Avatar
 
Join Date: Sep 2004
Posts: 553
Default

Are the mp3's in the folder being pointed to by a 'playlist' from some MP3 playing program that you have? I doubt that could be a problem but, you never know.

Have you gone to 'tools' then to 'folder options' then clicked on the 'view' tab and checked the 'show hidden files and folders' radio button? That way you can see if there is something that was "hidden" in that folder.

have you tried to delete the folders contents and then the folder?
__________________
Seria is offline  
Old 05-15-2005, 09:24 PM   #5 (permalink)
Junior Techie
 
Join Date: Feb 2005
Posts: 90
Default

there are no mp3s or anything in the folder. i have tried to see if there is any program pointing to it but there isnt. I didnt even use the mp3s i just put them on there so i could use the cd that they were on. I then deleted them and then tried to delete the folder but that didnt sem to go the way i planned. I had no trouble deleting the mp3s.
__________________
Gigabyte GA-7vm400m
Via VT8235 Chipset
AMD Athlon XP2400+ Cpu
1024 Mb DDR400 RAM
160gb Maxtor H/D
Nvidia GeForce 6600 GT Video Card
Win Xp Pro
cerberus98 is offline  
Old 05-15-2005, 09:24 PM   #6 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Can you rename it to whatever? Then delete it?
__________________
Osiris is offline  
Old 05-15-2005, 09:35 PM   #7 (permalink)
Master Techie
 
Join Date: Feb 2004
Posts: 2,172
Send a message via AIM to Win2kpatcher
Default

I doubt he can rename it..usually if you cant delete it you cant do NADA with it. I would try the good ole kill explorer.exe process fix..worth a shot..hah.

Launch the task manager, go to processes, kill the exporer.exe process, then it looks like you crashed but your ok..then go to the top of the task manager and do FILE>NEW TASK, type in CMD. Then try and delete it that way. via
del c:\mybastardofafolderthatwontdelete
Win2kpatcher is offline  
Old 05-15-2005, 09:36 PM   #8 (permalink)
Master Techie
 
Join Date: Feb 2004
Posts: 2,172
Send a message via AIM to Win2kpatcher
Default

Oh then when your done if it worked or not just relaunch the explorer.exe process to get back to your desktop. Just launch a new task then browse to C:\WINDOWS\explorer.exe
Win2kpatcher is offline  
Old 05-15-2005, 09:37 PM   #9 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Delete - Can't Delete Files or Folders

Checkpoints/workarounds: Test the Delete after each suggestion.

1. Go to Start/Run/CMD and type in: RD /S [drive:] path
2. Open Notepad and save the (blank) file with the name of the undeletable file. Under save as, navigate to the file, delete.
3. Move the file into a new directory and then delete the directory.

4. Close all open apps. Open a command prompt (Start/Run/CMD) and navigate to the directory with the offending file(s). Then open the Task Manager and click on the Processes tab, select "explorer.exe" under Image Name. Click "End Process".

In the opened Command Prompt, DEL the offending files (DEL *.mpg, DEL mus*.avi, DEL test.wmv, etc.) Once done, go back to the task manager and click on the Applications tab. Click the "New Task..." button. in the dialog, type explorer.exe and click OK.

Note: Could also opt for: ATTRIB -H -R -S filename before the DEL.

5. Or you can use Process Explorer: http://www.sysinternals.com/ntw2k/fr...procexp.shtml. Use the search function to find every handle that Explorer.Exe has open and close them (right-click on the file and choose 'close handle'). Then delete the file(s) in question.

NTFS: "Access Denied" Error Message When You Try to Delete a File
http://support.microsoft.com/default...B;EN-US;298345

Delete - AVI, MPG... files (access denied error)

Close all open apps. Open a command prompt and navigate to the directory with the offending files. Then open the Task Manager and click on the Processes tab. select "Explorer.Exe" under Image Name. Click "End Process".

Now you will only have the command prompt and the task manager. In the Command Prompt, DEL the offending files (DEL *.mpg, DEL mus*.avi, DEL test.wmv, etc.)

The files should now delete without a problem. Now go back to the task manager and click on the Applications tab. Click the "New Task..." button. in the dialog, type Explorer.Exe and click OK.

Process Explorer shows you information about which handles and DLLs processes have opened or loaded. Use the search function to find every handle that Explorer.Exe has open and close them (right-click on the file and choose 'close handle'). Then delete the file(s) in question.
Osiris is offline  
Old 05-15-2005, 09:46 PM   #10 (permalink)
Junior Techie
 
Join Date: Feb 2005
Posts: 90
Default

Thanks everybody for the responses i havent tried them yet but i thought i should just say thanks to everyone for there time and effort. Ill let you know how it goes.(Fingers crossed)
__________________

__________________
Gigabyte GA-7vm400m
Via VT8235 Chipset
AMD Athlon XP2400+ Cpu
1024 Mb DDR400 RAM
160gb Maxtor H/D
Nvidia GeForce 6600 GT Video Card
Win Xp Pro
cerberus98 is offline  
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.