title: How to make an executable file in Prolog
body: <p>As the question suggest how i can make executable file from Prolog code. I am new to Prolog and learning myself about this programming. I have this simple code which i saved it as <code>bigger.pl</code> in root of my drive (in this case D:) and compiled successfully.</p>
  
  <pre><code>female(mary).
  female(sandra).
  female(juliet).
  female(lisa).
  male(peter).
  male(paul).
  male(dick).
  male(bob).
  male(harry).
  parent(bob, lisa).
  parent(bob, paul).
  parent(bob, mary).
  parent(juliet, lisa).
  parent(juliet, paul).
  parent(juliet, mary).
  parent(peter, harry).
  parent(lisa, harry).
  parent(mary, dick).
  parent(mary, sandra).
  
  
  brother(X, Y) :-
  parent(Z, X),
  parent(Z, Y),
  male(X),
  X \= Y.
  </code></pre>
  
  <p>I found <a href="http://www.swi-prolog.org/FAQ/WinExe.html" rel="nofollow">this code</a>  which I inserted in the Command prompt (CMD)</p>
  
  <pre><code>plcon -o myapp.exe -c bigger.pl --goal=main
  </code></pre>
  
  <p>After running this script I got this error</p>
  
  <pre><code>'plcon' is not recognized as an internal or external command,operable program or batch file
  </code></pre>
  
  <p>Can you please help.</p>