SOLVED: relative paths where filename arguments are expected


#1

Shouldn’t the following work as ways to reference files and directories relative to the current working directory:

cd("…/txt_output")
isdir("…/txt_output")
open("…/txt_output/mytext.txt", “r”)

None of them do. Is this related to the tilde issue?


#2

I think you just have one too many dots.


#3

Yes–as I typed the example. I used 2 dots in code.

There is no problem: I was not navigating the file hierarchy correctly! Doh!

tx.