PDA

View Full Version : Cannot delete a folder in Vista


lashley
05-08-2010, 09:24 AM
Hi,

I had a winzip software on my computer and uninstalled it. However when I go to C: Program files and try to delete the folder izarc I can't. I did a computer restart, but still can't.

First when I press delete it tells me I need to have permission, and I give it permission, then it says:
you need permission to perform this act.

Here's screenshot:

http://content.screencast.com/users/KarlSultana/folders/Jing/media/593a428a-cbce-4a8d-9d71-044bd24da82b/2010-05-08_1023.png

Then either I spend hours clicking the Try again button or click Cancel.

How the heck I'm going to delete this folder please?

Thanks,
Karl

brad211987
05-09-2010, 05:00 AM
open a command prompt as an administrator and delete it from there.

To do this:


Click on Vista start menu.
Type "cmd" in the search box
Right Click on the "Command Prompt" option that should show in the search results.
Click "Run as administrator"
Navigate to the program files directory using the command: cd "c:\Program Files"
Delete the folder using the command: rmdir IZarc

lashley
05-09-2010, 07:51 AM
open a command prompt as an administrator and delete it from there.

To do this:


Click on Vista start menu.
Type "cmd" in the search box
Right Click on the "Command Prompt" option that should show in the search results.
Click "Run as administrator"
Navigate to the program files directory using the command: cd "c:\Program Files"
Delete the folder using the command: rmdir IZarc


I did that here's what I got:

http://content.screencast.com/users/KarlSultana/folders/Jing/media/a27c137b-2d73-4541-9b5d-7694c5b73b6c/2010-05-09_0848.png

Here's what I have in my IZarc folder:

http://content.screencast.com/users/KarlSultana/folders/Jing/media/f635d4fc-0c79-4a1b-a9ba-b1ad91b9abcb/2010-05-09_0851.png

Thanks,
Karl

effpeetee
05-09-2010, 04:04 PM
I use this program (http://exitfegs.co.uk/takeownership.zip) which adds take ownership to the right hand menu of each file.
Sometimes it is necessary to take possession of each individual file in the folder first and then delete, before you can delete the folder.

Frank

brad211987
05-09-2010, 05:18 PM
just add the /s flag to the command:

rmdir /s IZArc

lashley
05-10-2010, 08:17 AM
just add the /s flag to the command:

rmdir /s IZArc

This is what I got now:

http://content.screencast.com/users/KarlSultana/folders/Jing/media/b5d9befe-f6df-409d-b9f1-af566a2bed87/2010-05-10_0916.png

Thanks

brad211987
05-10-2010, 01:01 PM
Did you try what effpeetee mentioned above?

primefalcon
05-11-2010, 02:59 AM
failing all else you could delete it using a Linux live disk

lashley
05-11-2010, 07:53 AM
failing all else you could delete it using a Linux live disk

Yes now it worked after I installed what that told me thanks a lot!

Karl