sys_cmd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Coldboot

func Coldboot() error

Coldboot 冷启动 windows Explorer

func ControlRunDLL

func ControlRunDLL() error

ControlRunDLL 控制面板

func LockWork

func LockWork() error

LockWork 锁定计算机

func Logoff

func Logoff() error

Logoff 注销

func Open

func Open(params []string) error

Open 打开网页、文件、目录,相对路径C:\WINDOWS\System32\ 不能打开环境变量指向的目录文件?

func Poweroff

func Poweroff() error

Poweroff 关闭电源

func Reboot

func Reboot() error

Reboot 重启

func RegisterService

func RegisterService(name string, path string, start string) error

RegisterService TODO

func Shutdown

func Shutdown() error

Shutdown 关机

func Start

func Start(params []string) error

Start 启动程序,包括url,支持相对路径,但会显示一个控制台

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL