shell_execute
Entity: predicate

Usage:
shell_execute(File)
shell_execute(File, Action)

Opens a File by using of its default extension and performs on it the specified Action . Instead of File you can specify a folder.

The default Action is "open". This is the same as if you double click on the file icon. Other possible Actionsare "print" and "explore".
 

Examples:

 ?- shell_execute("Document.doc").
 ?- shell_execute("Page.html ", "print").
 ?- shell_execute("C:\Program Files\Strawberry Prolog ", "explore").