Below is the path to my Windows directory. Usually the path should have \ instead of //, but both seem to work.
String WinDir = "C://trash//blah//blah";
The same goes for the Linux path. Normal should have / instead of //. The snippet below and above works fine and will capture the contents of the specified files.
String LinuxDir = "//foo//bar//blah"
So, both use weird file path declarations, but both work fine. Development, please.
For instance,
File file = new File(WinDir);' file.mkdir();'
source share