Hallo!
Does anybody know how to make exists() return TRUE?
To be clear, here is my code:
File f = new(InputFile);
if (f.exists()) {
...
}
InputFile is a file name input by a user. Let's say I have a file called ABC.txt under C drive. I tried to write C:\ABC.txt or ABC.txt or only ABC. It doesn't give me a TRUE value.
Can anybody help me? Thanks!
Andre