i need to set attribute for a folder which is already read only
i need to sett the particular folder to normal,
i tried this code
Expand|Select|Wrap|Line Numbers
- dirInfo = New DirectoryInfo(Application.StartupPath & "/Resources/XML/")
- dirInfo.Attributes = FileAttributes.Normal
but when i set it normal manually
and try setting readonly attribute to the same folder programattically then its setting
i don't now why??
please suggest me/...
Thanks in advance