As of 3.8.3 the windowed executable (spwin) can save a
transcript of the interaction with the Prolog top-level.  The command
is under the File menu. You may wish to increase the number of
save lines in the Windows Settings (under the
Settings menu).
     
spwin)? 
See The Console Window.