April 13, 201015 yr Newbies Hey guys, I'm trying to use the Read File Contents function to work by looking in a folder besides the tmp folder. The function works in the example, using the tmp/ScriptMasterExample.txt file but when I try to substitute my own path to a file it won't work. If I place a test file in the tmp folder and have it find it there it works. When ever I change it something like: /Macintosh HD/Users/okcpenguin/Desktop/list.txt I get this error message: java.io.FileNotFoundException: /Macintosh HD/Users/okcpenguin/Desktop/list.txt (No such file or directory) Same thing happens if I try to run it in my live file. If I place the file in the tmp folder its perfect, otherwise I get "ERROR" And I'm staring at the file on my desktop, so I know its there. Thanks for any help you can provide. Edited April 13, 201015 yr by Guest
April 13, 201015 yr Author Newbies Nevermind...I figured it out. Left off the "Macintosh HD/" part and it worked perfectly.
Create an account or sign in to comment