A
Alexandra
Hi,
I have a hidden system file that I need to read.
I am logged in as an administrator.
I can not change the file attributes using the windows explorer.
I can view the file's content.
Opening the file programmatically fails with access is denied.
(If I copy the file I can access it, although it is also hidden.)
Therefore I am trying to change the attributes of that file,
programmatically, to normal.
Getting the attributes succeeds and shows that the file is hidden and
system.
However when I try to set the file attribute to normal it fails and get
last error produces the following string :
Error 183 : Cannot create file when that file already exists.
The MSDN states that for WinXP it is possible to change the attributes
for hidden and system files.
Do I need some special permissions ? Which ones ?
I have logged off and logged in again, the behavior did not change.
Any leads, anyone ?
Thank you!
I have a hidden system file that I need to read.
I am logged in as an administrator.
I can not change the file attributes using the windows explorer.
I can view the file's content.
Opening the file programmatically fails with access is denied.
(If I copy the file I can access it, although it is also hidden.)
Therefore I am trying to change the attributes of that file,
programmatically, to normal.
Getting the attributes succeeds and shows that the file is hidden and
system.
However when I try to set the file attribute to normal it fails and get
last error produces the following string :
Error 183 : Cannot create file when that file already exists.
The MSDN states that for WinXP it is possible to change the attributes
for hidden and system files.
Do I need some special permissions ? Which ones ?
I have logged off and logged in again, the behavior did not change.
Any leads, anyone ?
Thank you!