in SWI Prolog terminal how do I view the current working directory and change the current working directory?
I found:
working_directory(CWD, CWD)
but I dont think its what I need
To get the current working directory use working_directory(CWD, CWD)
.
To change the current working directory use working_directory(_, NewCWD)
.
Check here to see the manual entry for this predicate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With