I'm trying to input backslash in my java file through Eclipse IDE.
When using File.separator, the return is \, so my program returns an error indicating that it cannot locate the file because of the path returned like this:
¥¥¥¥C:¥¥Users¥¥Test Folder\xls\Test.xls
Here's my pseudo-code:
String path = ¥¥¥¥C:¥¥Users¥¥Test Folder;
String pathToConcat = File.separator + "xls" + File.separator + "Test.xls";
I tried pressing the backslash in notepad and it returns \, but in eclipse, it is ¥.