Using the predicate working_directory(CWD, 'new/WD/folder') change your current working directory for the whole time of the current session. What I need is to change it permanentely. I tried using the predicate cd/1 , I tried editing the swipl.ini file inserting the working_directory predicate in it but nothing seems to work. I don't know if I am placing the.ini file in the wrong folder or if the statements in it are not correct. Is it even possible to achieve such result? thanks.
2
votes