Hi Norman,

".." or double dots usually represent 1 directory up.  For example, if I
have a class file

/tmp/here/myclass.class

and I have a text file

/tmp/mytextfile.txt

I can access the text file using the path

"../mytextfile.txt"

If my text file happens to be inside another folder like this

/tmp/anotherfolder/mytextfile.txt

I can access it using the path

"../anotherfolder/mytextfile.txt"

* just replace the slash with a backslash (or double backslash) if you're
using Windows.

You can start by playing around the location of the file by putting it one
directory up, then 2 directories up and then placing it inside different
folders.

---
Randell
http://randell.ph/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to