Assume there is two files inside my clojure project, one clj and the other is txt. Is there a way to know the path (as a string) of the txt file from the clj file?
Ther
This gives where the current clj file, the one that this code is written in.
No, it doesn't. It gives the current directory.
Did you take into account that one can run clojure scripts that are not in the current directory?