Skip to main content

Module shell

Module shell 

Source
Expand description

Shell-facing helpers for opening files, URLs, Explorer selections, and the Recycle Bin.

Functions§

empty_recycle_bin
Permanently empties the Recycle Bin for all drives without shell UI.
empty_recycle_bin_for_root
Permanently empties the Recycle Bin for a specific drive root without shell UI.
move_paths_to_recycle_bin
Sends multiple files or directories to the Windows Recycle Bin in one shell operation.
move_to_recycle_bin
Sends a file or directory to the Windows Recycle Bin.
open_containing_folder
Opens the directory containing an existing file or directory.
open_url
Opens a URL with the user’s default browser or registered handler.
open_with_default
Opens a file or directory with the user’s default Windows handler.
open_with_verb
Opens a file or directory using a specific Windows shell verb.
print_with_default
Prints a file using its registered default print shell verb.
reveal_in_explorer
Opens Explorer and selects the requested path.
show_properties
Opens the Windows Properties sheet for a file or directory.