S
Sak Na rede
Hi all!
I have to program a lot of scripts, most of them work with files and
folders. This files and the folders are in the directory of the script,
it works well except if script is called from another directory. I solve
this problem with:
Dir.chdir("complete_path")
I think this solution is not the best for a lot of reasons, how do you
do that?
Thanks!!
I have to program a lot of scripts, most of them work with files and
folders. This files and the folders are in the directory of the script,
it works well except if script is called from another directory. I solve
this problem with:
Dir.chdir("complete_path")
I think this solution is not the best for a lot of reasons, how do you
do that?
Thanks!!