mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-24 23:11:29 +08:00
wine-{net, sc, start, uninstaller}, winepath: add page (#22991)
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
co-authored by
Ivan Baluta
Managor
parent
81b911a298
commit
bbc9b19d19
@@ -0,0 +1,25 @@
|
||||
# wine net
|
||||
|
||||
> Start, stop, and list Windows services in a Wine prefix.
|
||||
> A reimplementation of a subset of the Windows `net` command.
|
||||
> More information: <https://gitlab.winehq.org/wine/wine/-/wikis/Commands>.
|
||||
|
||||
- List the currently running services:
|
||||
|
||||
`wine net start`
|
||||
|
||||
- Start a specific service:
|
||||
|
||||
`wine net start {{service_name}}`
|
||||
|
||||
- Stop a running service:
|
||||
|
||||
`wine net stop {{service_name}}`
|
||||
|
||||
- List the current network connections:
|
||||
|
||||
`wine net use`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wine net help`
|
||||
@@ -0,0 +1,29 @@
|
||||
# wine sc
|
||||
|
||||
> Create, query, and control Windows services in a Wine prefix.
|
||||
> A reimplementation of the Windows `sc` service control command.
|
||||
> More information: <https://gitlab.winehq.org/wine/wine/-/wikis/Commands>.
|
||||
|
||||
- Query the status of a service:
|
||||
|
||||
`wine sc query {{service_name}}`
|
||||
|
||||
- Create a new service from an executable (note the space after `binpath=`):
|
||||
|
||||
`wine sc create {{service_name}} binpath= {{C:\path\to\service.exe}}`
|
||||
|
||||
- Start or stop a service:
|
||||
|
||||
`wine sc {{start|stop}} {{service_name}}`
|
||||
|
||||
- Set the description of a service:
|
||||
|
||||
`wine sc description {{service_name}} "{{description_text}}"`
|
||||
|
||||
- Delete a service:
|
||||
|
||||
`wine sc delete {{service_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wine sc /?`
|
||||
@@ -0,0 +1,37 @@
|
||||
# wine start
|
||||
|
||||
> Launch a program or open a document in a Wine prefix.
|
||||
> A reimplementation of the Windows `start` command.
|
||||
> More information: <https://gitlab.winehq.org/wine/wine/-/wikis/Commands>.
|
||||
|
||||
- Launch a Windows program:
|
||||
|
||||
`wine start {{path\to\program.exe}}`
|
||||
|
||||
- Open a document with its associated program:
|
||||
|
||||
`wine start {{path\to\document.ext}}`
|
||||
|
||||
- Launch a program from a Unix-style path:
|
||||
|
||||
`wine start /unix {{path/to/program.exe}}`
|
||||
|
||||
- Launch a program and wait for it to exit, returning its exit code:
|
||||
|
||||
`wine start /wait {{path\to\program.exe}}`
|
||||
|
||||
- Launch a program minimized or maximized:
|
||||
|
||||
`wine start {{/min|/max}} {{path\to\program.exe}}`
|
||||
|
||||
- Launch a program from a specific working [d]irectory:
|
||||
|
||||
`wine start /d {{path\to\directory}} {{path\to\program.exe}}`
|
||||
|
||||
- Launch a program without opening a new console window:
|
||||
|
||||
`wine start /b {{path\to\program.exe}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wine start /?`
|
||||
@@ -0,0 +1,20 @@
|
||||
# wine uninstaller
|
||||
|
||||
> List and remove Windows applications installed in a Wine prefix.
|
||||
> More information: <https://gitlab.winehq.org/wine/wine/-/wikis/Commands>.
|
||||
|
||||
- Open the graphical "Add/Remove Programs" dialog:
|
||||
|
||||
`wine uninstaller`
|
||||
|
||||
- List all installed applications and their registry keys:
|
||||
|
||||
`wine uninstaller --list`
|
||||
|
||||
- Remove a specific application by its registry key:
|
||||
|
||||
`wine uninstaller --remove {{registry_key}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`wine uninstaller --help`
|
||||
@@ -0,0 +1,28 @@
|
||||
# winepath
|
||||
|
||||
> Convert file paths between Windows and Unix formats for a Wine prefix.
|
||||
> More information: <https://manned.org/winepath>.
|
||||
|
||||
- Convert a Windows path to a Unix path:
|
||||
|
||||
`winepath {{[-u|--unix]}} '{{C:\path\to\file}}'`
|
||||
|
||||
- Convert a Unix path to a long Windows path:
|
||||
|
||||
`winepath {{[-w|--windows]}} {{path/to/file}}`
|
||||
|
||||
- Convert a short (8.3) Windows path of an existing file to its long form:
|
||||
|
||||
`winepath {{[-l|--long]}} '{{C:\PROGRA~1}}'`
|
||||
|
||||
- Convert a long Windows path of an existing file to its short (8.3) form:
|
||||
|
||||
`winepath {{[-s|--short]}} '{{C:\Program Files}}'`
|
||||
|
||||
- Separate output paths with a null character instead of a newline:
|
||||
|
||||
`winepath {{[-u|--unix]}} -0 {{path1 path2 ...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`winepath {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user