Computing.Net > Forums > Windows NT > Deleting Denied Access Files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Deleting Denied Access Files

Reply to Message Icon

Name: Fábio
Date: August 22, 2001 at 05:44:46 Pacific
Comment:

Guys,

There is a file in my PC and I can't delete it using WindowsNT Explorer. It says the access is denied. I tried to change it's attributes using WNT Explorer and even though I can't delete it.
I tried the command attrib index.bat -r-s-h-a and I get the message this is an invalid command.
Any thoughts?
thanks,

Fabio
OS: WINDOWS NT SERVICE PACK 4



Sponsored Link
Ads by Google

Response Number 1
Name: Rick
Date: August 22, 2001 at 10:58:35 Pacific
Reply:

Are you in the correct directory when you type in the command? Is this file in the root 'C:\' or in a subdirectory? In which case you type 'cd program files' (or wherever it is) and enter, then use the command again. Your command IS written correctly, and it should work.


0

Response Number 2
Name: Chase
Date: August 22, 2001 at 17:33:57 Pacific
Reply:

No, actually, it's not. The attrib command requires spaces between each option. If you run it on it's own:

attrib filename.ext

It will show you the attributes that are set.

Then, you can run

attrib -r -s filename.ext

To clear the attributes.

However, an access denied statement leads more towards security than anything else. You can delete hidden, system and read-only files from within Explorer if you can see them. Right-click the files, select properties, then security and hit the permissions tab. There, you can add yourself with full control. Then, maybe you can delete it.

HTH,
Chase


0

Response Number 3
Name: Rick
Date: August 23, 2001 at 12:36:57 Pacific
Reply:

Corrected; I typed the command in and it worked, I subconsciously used spaces because I learned the command that way, otherwise the syntax is correct. Fabio said he already tried changing attributes from Explorer, so this leads to thinking that it should be done from the command line. NT domain permission would give him a message saying he does not have permissions.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Deleting Denied Access Files

win95 cannot access files from WinNT ser www.computing.net/answers/windows-nt/win95-cannot-access-files-from-winnt-ser/14075.html

Deleting a batch file www.computing.net/answers/windows-nt/deleting-a-batch-file/18443.html

winreg Registry key denied access to... www.computing.net/answers/windows-nt/winreg-registry-key-denied-access-to/18310.html