homepage Welcome to WebmasterWorld Guest from 54.211.68.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10) Forum

    
Why cant i delete these folders.?
cant delete folders.
john1000

5+ Year Member



 
Msg#: 3146593 posted 4:10 pm on Nov 5, 2006 (gmt 0)

Hello,

I sure hope someone with the right knowledge can give some advive on this...

some time ago i downloaded a file on my computer that was an extension for my dreamweaver.
but after i unpacked it i noticed that it didnt was what i was looking for.
so i tried to delete the folder but it refused...
so i deleted the contents...
after that i still couldnt delete the folder but i couldnt go into the folder anymore.....
and whatever i tried,i couldnt delete it to...

windows shows that i cannot access it,permission denied..

i even downloaded a program that lets you stop any running processes.
even that didnt work cause there weren't any running processes.

now it will get interesting.....

so just now when i was busy with winrar i thought ill use winrar to see if theres something inside the folder..
and was suprised to see that as soon as i click on the folder to see whats in it i end up at C:\

anybody have a clue whats going on?
it seems that its somehow linked to C:\?
If thats so then its obvious i cannot delete it..
But how do i solve this?

 

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 6:55 pm on Nov 5, 2006 (gmt 0)

It sounds like a process handle has been left open. You'll need to restart windows.

Kaled.

john1000

5+ Year Member



 
Msg#: 3146593 posted 10:37 pm on Nov 5, 2006 (gmt 0)

hello kaled,

maybe i wasnt that clear...if so sorry for that..

but since i had the folder my computer has been rebooted 100.000 times...

its like a few months now,but it bugs me....
i want the folder deleted....

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 12:21 am on Nov 6, 2006 (gmt 0)

Have you tried scandisk?
Have you tried deleting from the command prompt (using the rd command)?
Have you tried deleting from the command prompt using the short filename?
Have you checked the folder's properties? Is it marked readonly? Does it have zero size? Is it shared?
What file system is in use (e.g. FAT32 or NTFS)?
What error message is displayed when delete fails?

Kaled.

john1000

5+ Year Member



 
Msg#: 3146593 posted 12:36 am on Nov 6, 2006 (gmt 0)

Have you tried scandisk?

no....

Have you tried deleting from the command prompt (using the rd command)?

Whats that?
But if its connected to the C then deleting it will never work..right?

Have you tried deleting from the command prompt using the short filename?

No...but same answer as above......

Have you checked the folder's properties? Is it marked readonly? Does it have zero size? Is it shared?

as far as i can tell its not shared....folder has indeed zero size....
its not marked in any way.

What file system is in use (e.g. FAT32 or NTFS)?

NTFS

What error message is displayed when delete fails?

access denied..
check if the disk is full or secured against writing or is being used at this moment...

(all translated as im dutch)

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 1:31 am on Nov 6, 2006 (gmt 0)

Have you tried deleting from the command prompt (using the rd command)?

Whats that?

It's also known as the Command shell [microsoft.com]. That link will bring you to an overview. The rd command that kaled suggested is the first step I'd try.

Start Run... Type "cmd" without quotation marks type "RD C:\BadDirectoryPath" again without quotes

Be careful not to remove the wrong directory. Having full system backups prior to making changes to your system is recommended.

mandarseo

5+ Year Member



 
Msg#: 3146593 posted 6:44 am on Nov 6, 2006 (gmt 0)

Sometimes back even I had the same problem. Not really with dreamweaver extention but some other folder and I was not able to delete it.
I used system mechanic's application and I could delete it then. You can try some of the application like that. It is disk maintenance and system clearing application

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 7:01 am on Nov 6, 2006 (gmt 0)

Another work-around would be to start the PC in Safe Mode. In Safe Mode Windows runs with a reduced set of startup programs and you may be able to simply delete the file that way as well.

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 10:21 am on Nov 6, 2006 (gmt 0)

You might be able to delete the folder by pressing the shift key when selecting the delete option from its popup menu. This causes the recycle bin to be bypassed.

Kaled.

john1000

5+ Year Member



 
Msg#: 3146593 posted 11:57 am on Nov 6, 2006 (gmt 0)

thanks for the many replies.....

i did try to remove it in safe mode but that didnt worked either.

and i tried with command prompt but that didnt worked also..
if i type in the full address to the folder is says (translated)...

documents is not recognised as a internal or external task, program or batchfile.

i haven't tried that system mechanics yet,but faith is dropping...
anybody more ideas?

Frank_Rizzo

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3146593 posted 1:11 pm on Nov 6, 2006 (gmt 0)

If it's not flagged as read only
If it's not deletable in safe mode
If it's not deletable via the programs own unistall option (try reinstalling and then uninstalling again)
Then if all else fails boot with a Dos / Win98 boot disk and delete the file from the dos prompt.

You may need to navigate to the dir using shortfile name such as WIDGE~1

john1000

5+ Year Member



 
Msg#: 3146593 posted 1:21 pm on Nov 6, 2006 (gmt 0)

WIDGE~1 ?
thats abracadabra to me.... :(
Btw..its not a undeletable program but a folder....

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 2:41 pm on Nov 6, 2006 (gmt 0)

documents is not recognised as a internal or external task, program or batchfile.

At the command prompt, filenames that contain spaces must be enclosed by "double quotes".

You must type...
rd "C:\folder path"

Kaled

john1000

5+ Year Member



 
Msg#: 3146593 posted 2:50 pm on Nov 6, 2006 (gmt 0)

So like this...?

rd "C:\Documents and Settings\Mijn documenten\Macromedia_Flash_MX_Desing_Pack\Macrmedia_Flash_MX_esing_Pack\Macrmedia Flash MX Game Desing Pack"

john1000

5+ Year Member



 
Msg#: 3146593 posted 3:12 pm on Nov 6, 2006 (gmt 0)

ok...i tried it....
it says....folder isnt empty.

More ideas?

Romeo

10+ Year Member



 
Msg#: 3146593 posted 4:18 pm on Nov 6, 2006 (gmt 0)

ok...i tried it....
it says....folder isnt empty.

Go into the folder and empty it.
If there are no files (or sub folders) visible, try an 'attrib *.*' to see the hidden ones. Un-hide with 'attrib -h *.*'. Then delete what is inside the folder. Then delete the folder.

Kind regards,
R.

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 4:36 pm on Nov 6, 2006 (gmt 0)

How about this:

Open any folder.
Click on Tools in the menu bar.
Click on Folder Options.
Click on the View tab.
Scroll to the bottom of the Advanced Settings list, and uncheck "Use simple file sharing (Recommended)".
OK the dialog box.

Now, navigate to the folder just above your problem folder.
Right-click on the problem folder, and select Properties.
Click on the Security tab.
Select the account that you are logged in as -- Must be an administrator-permissions account.
Check all of the "Allow" boxes in the Permissions for Administrators list.
OK the dialog box.

Delete the problem folder.

If it works, go back to the first part of the procedure above, and set file sharing back to "simple" mode. If it doesn't work, try setting permissions on any/all files within the problem folder as well. Hopefully, that will take care of it; If not, I'm not sure what else might be wrong.

Jim

john1000

5+ Year Member



 
Msg#: 3146593 posted 5:22 pm on Nov 6, 2006 (gmt 0)

Hello Jim..

Open any folder.
Click on Tools in the menu bar.
Click on Folder Options.
Click on the View tab.
Scroll to the bottom of the Advanced Settings list, and uncheck "Use simple file sharing (Recommended)".
OK the dialog box.

From what Jim?

Im dutch so all my readings and options are dutch....

If im in the folder i have only ,file,edit,view,favorites,extra,and help buttons on top...

So i have no clue where you directing me to...

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 6:28 pm on Nov 6, 2006 (gmt 0)

I'm not fluent in Dutch, so I don't know how to make it any clearer, except by making it longer. I'll emphasize the titles of things in bold -- Sort of like a rude tourist who thinks you'll understand if he shouts in his own language... :)

Open any folder. [For example, open the folder view of the "C: drive" in Windows Explorer]
Click on Tools in the menu bar. [of the Windows Explorer folder view]
Click on Folder Options. [This opens a dialog box]
Click on the View tab.
Scroll to the bottom of the Advanced Settings list, and uncheck "Use simple file sharing (Recommended)".
OK the Folder Options dialog box. [to close it]

Now, navigate to the folder just above your problem folder.
Right-click on the problem folder, and select Properties. {This opens a dialog box]
Click on the Security tab.
Select the account that you are logged in as -- This account must be an administrator-permissions account.
Check all of the Allow boxes in the Permissions for Administrators list.
OK the Properties dialog box. [to close it]

Delete the problem folder. [Right click on the problem folder's name, then select Delete]

Remember to go back to the first part of the procedure above, and set file sharing back to "simple" mode.

I generated this list by actually doing it, so there are no missing steps, and no extra steps. You should be able to follow them one-by-one, as long as you are logged in as an administrator user.

Jim

Leosghost



 
Msg#: 3146593 posted 6:34 pm on Nov 6, 2006 (gmt 0)

Ok ..
( BTW please be nice to Jim ( talking to him is like talking to all the gods of OS at once ;-) ..if ever you need an htaccesss answer you'll know why ) ..

even in a dutch system ..the buttons are in the same place ..

BUT what exactly is your OS ...98II or XP ..what? ..and what was the dreamweaver extension that you were trying to install ..cos here we are all working somewhat in the dark ..when you tell us the operating system ..which windows? ..we can make a real start ..and if we know what the exact extension you tried to install was ..we may have a real chance at helping you here ..without that it' s real hard to do a "walk through"

( Oh yeah ..and never try to remove a program by just deleting it's dossier/folder ( my 'doze on this machine is in french ..some of my others are english ..some are both ..but all tyhe buttons are in the same places )..always run the uninstall ..then afterwards if there is anything left you can delete the folder ..doing it the otherway around always causes trouble ..) ..

so try to help us to help you ..whats your flavour of windows ..and what was the extension ..and for which dreamweaver ..?

[edited by: Leosghost at 6:36 pm (utc) on Nov. 6, 2006]

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 7:34 pm on Nov 6, 2006 (gmt 0)

At the command prompt, try...
rd /s "C:\folder path"

This will remove an entire directory tree, i.e. assuming that it is able to delete the contents of the directory, this will fix it. However, if the contents are undeletable, this will fail. In this case...

1) open regedit.exe
2) Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
3) Create a new string value called KillFolder and set the value to...
cmd.exe /C RD /S /Q "C:\folder path"
4) restart your computer.

Kaled.

john1000

5+ Year Member



 
Msg#: 3146593 posted 10:18 pm on Nov 6, 2006 (gmt 0)

ok guys a little update ...all the above faild...
even with the old win commander i had no luck.....

only thing left is the last post of the register fix....
but can that do any harm?

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3146593 posted 1:53 am on Nov 7, 2006 (gmt 0)

If you enter the command correctly (don't forget the quotes) then, either it will fail or it will succeed.

If it fails, no harm will result.
If it succeeds and success causes a critical file to be deleted then yes, it could harm your computer.

The registry value is deleted automatically when the command is executed.

Kaled.

john1000

5+ Year Member



 
Msg#: 3146593 posted 3:36 pm on Nov 7, 2006 (gmt 0)

ok kaled,
thanks and to others.....

but ill have to think about that...
i was planning on doing a new os install ,but i dont know when....
if i do that the problem solves itself.

thanks guys..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved