Skip to content

Instantly share code, notes, and snippets.

@Notenoughusernames
Last active November 17, 2022 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Notenoughusernames/7a4ceaf652bac2a5015284c07939ad4c to your computer and use it in GitHub Desktop.
Save Notenoughusernames/7a4ceaf652bac2a5015284c07939ad4c to your computer and use it in GitHub Desktop.
Easy file pushing for WSA. 1. Run command 2. Place files in the 'wsapush' folder and run the command [Unlicense]
@echo off
mkdir %CD%\Wsapush 2>NUL
adb connect 127.0.0.1:58526 >NUL
if errorlevel = 1 echo adb: error: failed to connect: no devices/emulators found
if errorlevel = 1 exit
adb push "%CD%\Wsapush" "/sdcard/Download"
echo done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment