Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone help to make a bat script to run scrcpy from powershell? #5500

Open
eliapis75 opened this issue Nov 19, 2024 · 1 comment
Open

Comments

@eliapis75
Copy link

I want to make a bat script to open powershell and run Scrcpy from a specific path (D:\NewApps) but I don't know how.
I made this command in a bat file : start powershell -file "D:\NewApps\scrcpy.exe" but doesn't work.Just opens the PS window and closed immediatlly.

@david127cu
Copy link

use cmd commands and .bat file:
cd "D:\NewApps"
scrcpy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants