[Java] Reading a file on a network drive
Asked by
Boipelo Mawasha
I'm attempting to read a file I created on a network drive. The problem is that in Eclipse, I specified my path as:
path = "\\\\sever\
I get the following output:
java.io.
The code is use to open the file is as follows:
public void OpenFile() {
try {
if (Desktop.
desktop = Desktop.
}
desktop.open(new File(path));
} catch (IOException e) {
System.
e.printStack
}
}
ReadTextFromFile rtff = new ReadTextFromFil
rtff.OpenFile();
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.