Hi guys I am Using CreateNewFile() function to make a .txt file I them Hide it using the Following Code In System32 Directory.
Process p = Runtime.getRuntime().exec("attrib +h " + f.getPath());
p.waitFor();
The File is getting Hidden successfully But I need it to be secure so that you cannot delete it even if you wanted to. Is there a way to achieve this Programmatically?