hello,
I just realised that this doesn't work:
How can I determine the existence of a file on the hard drive?
Cheers,
Chrisir
I just realised that this doesn't work:
- boolean fileExists(String fileName) {
- File file=new File(fileName);
- println(file.getName());
- boolean exists = file.exists();
- if (exists) {
- println("true");
- return true;
- }
- else {
- println("false");
- return false;
- }
- }
How can I determine the existence of a file on the hard drive?
Cheers,
Chrisir
1