Newbies okcpenguin Posted April 13, 2010 Newbies Posted April 13, 2010 (edited) 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, 2010 by Guest
Newbies okcpenguin Posted April 13, 2010 Author Newbies Posted April 13, 2010 Nevermind...I figured it out. Left off the "Macintosh HD/" part and it worked perfectly.
Recommended Posts
This topic is 5349 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now