mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-27 12:45:52 +00:00
Add a shorcut "open a terminal here" on Windows
On Windows, the file explorer does not provide any "open a terminal here" shortcut. Add a bat file which just runs `cmd` to easily open a terminal directly in the scrcpy directory (so there is no need to `cd C:\path\…`). PR #2970 <https://github.com/Genymobile/scrcpy/pull/2970>
This commit is contained in:
parent
c8dc1917f4
commit
50f4f1639c
3 changed files with 12 additions and 2 deletions
11
FAQ.md
11
FAQ.md
|
@ -248,8 +248,15 @@ Caused by: java.lang.IllegalArgumentException: displayToken must not be null
|
|||
|
||||
## Command line on Windows
|
||||
|
||||
Some Windows users are not familiar with the command line. Here is how to open a
|
||||
terminal and run `scrcpy` with arguments:
|
||||
Since v1.22, a "shortcut" has been added to directly open a terminal in the
|
||||
scrcpy directory. Double-click on `open_a_terminal_here.bat`, then type your
|
||||
command. For example:
|
||||
|
||||
```
|
||||
scrcpy --record file.mkv
|
||||
```
|
||||
|
||||
You could also open a terminal and go to the scrcpy folder manually:
|
||||
|
||||
1. Press <kbd>Windows</kbd>+<kbd>r</kbd>, this opens a dialog box.
|
||||
2. Type `cmd` and press <kbd>Enter</kbd>, this opens a terminal.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue