powcshell.shellexec module#
パスまたはアイテムIDリストのシェル操作。
主なクラスは ShellExecute です。
- class powcshell.shellexec.ShellExecute#
ベースクラス:
objectパスまたはアイテムIDリストのシェル操作機能を提供します。
- static execute_class(classname: str, verb: str, invokes: bool = True, params: str | None = None, dir: str | None = None, showcmd: ShowCommand | int = ShowCommand.SHOWNORMAL, hotkey: int | None = None, monitor_handle: int | None = None, options: ShellExecuteOption = ShellExecuteOption.DEFAULT) int#
- static execute_path(path: str | PathLike, verb: str, invokes: bool = True, params: str | None = None, dir: str | None = None, showcmd: ShowCommand | int = ShowCommand.SHOWNORMAL, hotkey: int | None = None, monitor_handle: int | None = None, options: ShellExecuteOption = ShellExecuteOption.DEFAULT) int#
- static execute_pidl(pidl: int, verb: str, invokes: bool = True, params: str | None = None, dir: str | None = None, showcmd: ShowCommand | int = ShowCommand.SHOWNORMAL, hotkey: int | None = None, monitor_handle: int | None = None, options: ShellExecuteOption = ShellExecuteOption.DEFAULT) int#
- static execute_regkey(regkey_handle: int, verb: str, invokes: bool = True, params: str | None = None, dir: str | None = None, showcmd: ShowCommand | int = ShowCommand.SHOWNORMAL, hotkey: int | None = None, monitor_handle: int | None = None, options: ShellExecuteOption = ShellExecuteOption.DEFAULT) int#
- class powcshell.shellexec.ShellExecuteOption(*values)#
ベースクラス:
IntEnum- ASYNC_OK = 1048576#
- CONNECT_NETWORKDRIVE = 128#
- DEFAULT = 0#
- EXPAND_ENVVARS = 512#
- LOG_USAGE = 67108864#
- NO_ASYNC = 256#
- NO_CLOSE_PROCESS = 64#
- NO_CONSOLE = 32768#
- NO_UI = 1024#
- NO_ZONECHECKS = 8388608#
- WAIT_FOR_INPUTIDLE = 33554432#