2.1.1.2 Starting SWI-Prolog on Windows
After SWI-Prolog has been installed on a Windows system, the following important new things are available to the user:
- A folder (called directory in the remainder of this
document) called
swipl
containing the executables, libraries, etc., of the system. No files are installed outside this directory. - A program swipl-win.exe, providing a window for interaction with Prolog. The program swipl.exe is a version of SWI-Prolog that runs in a console window.
- The file extension
.pl
is associated with the program swipl-win.exe. Opening a.pl
file will cause swipl-win.exe to start, change directory to the directory in which the file to open resides, and load this file.
The normal way to start the likes.pl
file mentioned in
section 2.1.1.1 is
by simply double-clicking this file in the Windows explorer.