This is a discussion on Error: Exit code 1 (wrong path) - PROLOG ; Dear All, I am a student and I used SWI-Prolog since a few weeks. SWI-Prolog is installed on my home PC but also on my company's laptop. The software works fine on the home machine, but on the laptop I ...
I am a student and I used SWI-Prolog since a few weeks.
SWI-Prolog is installed on my home PC but also on my company's
The software works fine on the home machine, but on the laptop I
cannot start it because I get the Exit code 1! Using a SWI-Prolog-
Editor (see http://lernen.bildung.hessen.de/informatik/swiprolog/) I
got a little bit more information's about this error. The problem is,
that SWI-Prolog search for pl.INI file in the wrong path!
I found the reason. The profile folder on the laptop is on the company
share (e.g. /my_company_share/ ). This means that the windows variable
APPDATA is set to the folder /my_company_share/myAccount/ and not as
usially to the C:/document and settings/myAccount.
Now, if I will use the laptop in the school or at home, then the share
doesn't exist (that's understood), but SWI-Prolog search the pl.INI
file on the APPDATA location (in this case: /my_company_share/
I tried to set the windows variable APPDATA to the right location, but
it doesn't work. I restarted the laptop, but the APPDATA was set again
automatically to the share value!
Is it possible to set the right path for pl.INI without using a
Thanks a lot for your support.