Is it possible to use Command Prompt to locate a file in the directory that contains the word "main" in its name and then push that file onto an Android device?
This is what I have so far -
pushd \\nm\games\BeaverGames\Mobile\Custom Street Racer\Builds\GooglePlay for /f "delims=" %a in ('dir /b /a:d *2015*') do cd %a for /f "delims=" %a in ('dir /b /a:d *10*') do cd %a for /f "delims=" %a in ('dir /b /a:d *prod*') do cd %a adb push csr.apk /sdcard/. adb shell mkdir /sdcard/Android/obb/com.naturalmotion.csrracing
This gets me to a point where I have 2 files in a folder that I need to push onto an Android device, one called
main 1001 and one called
Now the numbers in the file name always change but the word "main" and "patch" do not.
So is it possible to search for just the word "main" and then push it onto the device?