How to delete files in C in my computer.
Have you tried remove()?
Hey I think I am not clear.
If you are not sure what you are asking, there is no way I can be sure of an answer.. :D
recently I formatted my computer. later there is a folder created by the computer with name windows. Old consisting of all my recent used programs and installed software's. Now when I try to delete that folder I couldn't.
"files in c" I meant that C folder.
Ah. So you want to know how to delete protected files/folders on your C: drive.
yes
You can always take ownership of the folder, then you have the permissions to delete what is yours. You could log in as Administrator, giving you the ability to delete anything.
i logged in as administrator but i am unable to delete.
As an administrative user or as the user "administrator"?
what's the difference between those two.
The level of privileges you have. An administrative account can do quite a bit more than a standard user, but they are still limited when compared to the abilities of the "administrator".
You could always try an elevated command prompt, this would allow you to run as an admin and not have to log out.
Maybe this will help: http://www.sevenforums.com/tutorials/19151-windows-old-folder-delete.html
If this was automatically crated by an upgrade or repair install, there is usually a cleanup added to the Programs and Features (Add/Remove Programs) that will delete the old files for you.
Join our real-time social learning platform and learn together with your friends!