Access data from a folder outside of "data"
in
Programming Questions
•
2 years ago
This may be a Windows Vista issue, but I can't seem to figure out how to access a folder of files outside of the Sketch data folder.
This works:
"/Users/myname/Desktop/folderOfFiles/"
I have tried all the various combinations of forward/backward/double/single slashes.
This works:
- inputFolder= "data";
File dataFolder = new File(sketchPath, inputFolder);
String[] fileList = dataFolder.list( );
"/Users/myname/Desktop/folderOfFiles/"
I have tried all the various combinations of forward/backward/double/single slashes.
1