
-----------------------------------
copthesaint
Mon Feb 09, 2009 11:52 am

Opening Files/ Directive / Mixup Problems
-----------------------------------
Ok so I was wanting to make a program that will open up all picture files in all folders at the location of the File.
But when ever I try to do this I will  get an error.
Example

-Folder (b)
  -File (The program)
     -Folder (a)
     -Folder
     -Folder

First it will open it's self and search the folder it is in
Second It will Search the folder that is outside of it.
Third it will Seach The folder (a) but Out side on of folder (b) 
This will then give me the error

Also for some reason it tries to open .t files...
and This program does open pictures.

-----------------------------------
Tony
Mon Feb 09, 2009 5:33 pm

RE:Opening Files/ Directive / Mixup Problems
-----------------------------------
it is best to traverse the directory structure in a recursive manner.

-----------------------------------
copthesaint
Mon Feb 09, 2009 8:27 pm

RE:Opening Files/ Directive / Mixup Problems
-----------------------------------
??? Sorry recursive?
I'm just starting my grade 10 computer class so I don't actually know the terminology. (I CAN'T SKIP A GRADE TO JAVA>_