Guest ColinMCMXC Posted September 20, 2010 Report Posted September 20, 2010 hi, when i want to connect my phone to my pc and wirelessly use adb commander, what i do it is run cmd and type "adb connect 192.168.1.10:????" and hit enter, then i have to open adb commander so what i want to do is to make a file that will do all that for me. is it possible or am i wasting my time and just being lazy?
Guest AntonioPT Posted September 20, 2010 Report Posted September 20, 2010 hi, when i want to connect my phone to my pc and wirelessly use adb commander, what i do it is run cmd and type "adb connect 192.168.1.10:????" and hit enter, then i have to open adb commander so what i want to do is to make a file that will do all that for me. is it possible or am i wasting my time and just being lazy? You could write a .bat file like this (my Windows script abilities are kinda rusty, anyone correct me if anything is wrong :lol:): @echo off adb connect 192.168.1.10:port start "C:/Program Files/wherever adb commander is/adbcommander.exe"
Guest ColinMCMXC Posted September 20, 2010 Report Posted September 20, 2010 hi, i just gave that a go, but no luck, so i removed to echo part and it come up with the adb command but didnt execute it
Guest rulerofkaos Posted September 20, 2010 Report Posted September 20, 2010 hi, i just gave that a go, but no luck, so i removed to echo part and it come up with the adb command but didnt execute it You have to start the .bat in the same folder as adb.exe or add the path of adb.exe to the system.
Guest ColinMCMXC Posted September 20, 2010 Report Posted September 20, 2010 ok so adb is connecting to the phone now, but its still not starting the program, it seems to be opening a new command window btw, thanks for all your help so far :lol:
Guest cleguevara Posted September 20, 2010 Report Posted September 20, 2010 ok so adb is connecting to the phone now, but its still not starting the program, it seems to be opening a new command window btw, thanks for all your help so far :lol: you don't need "start" ...btw: recently it's convention to save the windows-shellscripts as .cmd and not .bat
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now