I have created Hidden folder in windows from this link..Now i have to delete one file in that hidden folder.
eg.C:\program files\test\abc.xml
I want to delete abc.xml and i have used following code for delete in java
String path="C:\program files\test\abc.xml"
if(new File(path).exists()){
new File(path).delete()
}
The attribute set as N for this file instead of deleting. I do not know what happening?
Note: abc.xml file is encrypted file.
Can any one help me.
Thanks.