4.35.1 Windows-specific Operating System Interaction
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Operating System Interaction
          • Windows-specific Operating System Interaction
            • win_exec/2
            • win_shell/3
            • win_shell/2
            • win_registry_get_value/3
            • win_folder/2
            • win_add_dll_directory/1
            • win_add_dll_directory/2
            • win_remove_dll_directory/1
            • win_process_modules/1
            • win_get_user_preferred_ui_languages/2
    • Packages
win_shell(+Operation, +File, +Show)
Windows only. Opens the document File using the Windows shell rules for doing so. Operation is one of open, print or explore or another operation registered with the shell for the given document type. On modern systems it is also possible to pass a URL as File, opening the URL in Windows default browser. This call interfaces to the Win32 API ShellExecute(). The Show argument determines the initial state of the opened window (if any). See win_exec/2 for defined values.