That's probably a stupid easy question but i can't figure it out.
I want to read a file from the path where I started fantom from (working directory)
I've tried using uri's like ./file.txt but that doesn't seem to create/find a relative file like i expected.
I saw Env.cur.workingDir ... but that seem to be the Fantom runtime work dir rather than the OS working dir.
I'm sure i'm missing something silly, and I'm even pretty sure I've managed to do this before ... but right now I can't find it.
never mind .... need to fix the IDE.
Login or Signup to reply.
tcolar Sun 8 May 2011
That's probably a stupid easy question but i can't figure it out.
I want to read a file from the path where I started fantom from (working directory)
I've tried using uri's like ./file.txt but that doesn't seem to create/find a relative file like i expected.
I saw Env.cur.workingDir ... but that seem to be the Fantom runtime work dir rather than the OS working dir.
I'm sure i'm missing something silly, and I'm even pretty sure I've managed to do this before ... but right now I can't find it.
tcolar Sun 8 May 2011
never mind .... need to fix the IDE.