Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

attrib -C on a read only file?

May
318
6
I would like to know if it is possible to change the C attribute on a read only file, without changing anything else.
I tried on two test files on two different systems.
On the first, I did not get any error but the attributes were not changed.
On the second, I go an error.

Code:
[F:\work\test]attrib
R__A______C____  F:\work\test\a.txt

[F:\work\test]attrib -c a.txt
R__A______C____ -> R__A___________  F:\work\test\a.txt
TCC: (Sys) The handle is invalid.
"F:\work\test\a.txt"

Thank You and regards

Rodolfo Giovanninetti
 
Back
Top
[FOX] Ultimate Translator
Translate