access denied when trying to delete folder

G

Guest

hey,
whenever i try to delete a game from my computer it comes up with a message
saying 'access denied' and i want to know the DOS command exactly on how to
delete it through DOS the directory of the folder is D:/Program
Files/THQ/Dawn of War
thx
 
R

Rick \Nutcase\ Rogers

Hi,

Did you uninstall the program first? Usually, that removes the program
folder as well. If you have, and the folder yet remains, use RD from the
command prompt to remove it. However, as you are getting 'access denied', it
indicates that you likely have a permissions issue (insufficient privileges
to remove the folder).

Right-click the folder, select properties. Go to the security tab and click
advanced. You can take control of the folders on the owner tab. For the
security tab to appear in a WinXP Pro system, you must disable simple file
sharing in the control panel/folder options/view tab. For a WinXP Home
system, you must restart in safe mode and logon as administrator. More
details here:

HOW TO: Take Ownership of a File or Folder in Windows XP [Q308421]
http://support.microsoft.com/?kbid=308421

If this procedure still does not allow you to remove the folder, click
start/run, type cmd and click ok. Then use this syntax to remove the folder:

RD /s /q D:/Program Files/THQ/Dawn of War

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top