How to read .dat files that are hidden?
807601Jan 30 2008 — edited Feb 5 2008Is it possible to read .dat files that are set to hidden? 'cause what i did was i created a .dat file and set its attributes to hidden and my Read file code cannot read hidden files.
here's my Read file code:
Scanner read=new Scanner(FileReader("C:\password.dat"));
and another thing, how do you Write a .dat file that is hidden too? 'cause my password.dat file needs to be updated.
here's my Write file code:
PrintWriter write=new PrintWriter("C:\password.dat");
thank for the help.