Solved Batch file xcopy pc to android how to

Discussion in 'Android Support' started by mark7atl, Nov 3, 2015.

  1. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Looking for help in using batch file to xcopy from pc to android. Heard I need adb on pc. Not familiar with adb, and am currently searching for help on the web to install adb on my W10.
     
  2. Mustang02

    Mustang02 Diamond Member

    Joined:
    Aug 8, 2010
    Messages:
    7,624
    Likes Received:
    5,114
    Trophy Points:
    1,563
    Location:
    Ohio
    Ratings:
    +6,072
    Current Phone Model:
    Nexus 6P/5X
  3. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Thanks for the info. This is getting much more complicated than I planned. In the process, learned how to enable developer options on my phone. Maybe I can learn more from this than I expected.
     
  4. CJM

    CJM Super Moderator
    Staff Member Rescue Squad Premium Member

    Joined:
    Sep 12, 2010
    Messages:
    10,640
    Likes Received:
    1,719
    Trophy Points:
    558
    Location:
    Mississippi Gulf Coast
    Ratings:
    +1,861
    Current Phone Model:
    Nexus 6
    Twitter:
    https://twitter.com/Corey
    All you really need for ADB is the ADB file. The sdk is good if you're doing more with Android, but not necessary.

    This is how I setup ADB. Make a folder on your C drive & place the ADB file in that folder. Right click on my computer for properties & go to system variables. Set ADB as a path. Then plug in your phone & install any drivers. Making sure USB debugging is enabled in developer settings, open command prompt and type "ADB devices". It should now show your device connected

    Tapped from a Nexus 6
     
    • Like Like x 3
  5. Mustang02

    Mustang02 Diamond Member

    Joined:
    Aug 8, 2010
    Messages:
    7,624
    Likes Received:
    5,114
    Trophy Points:
    1,563
    Location:
    Ohio
    Ratings:
    +6,072
    Current Phone Model:
    Nexus 6P/5X
    Forgot about that.

    You could just set a path in the batch file as well, or execute it from the same folder adb is in.
     
  6. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Thanks CJM for the info. I am working on setting it up per your instructions. This is a little over my head, but I am learning.
     
  7. Mustang02

    Mustang02 Diamond Member

    Joined:
    Aug 8, 2010
    Messages:
    7,624
    Likes Received:
    5,114
    Trophy Points:
    1,563
    Location:
    Ohio
    Ratings:
    +6,072
    Current Phone Model:
    Nexus 6P/5X
    I can upload a zip of the basic files you'll need. Give me a few.
     
    • Like Like x 2
  8. Mustang02

    Mustang02 Diamond Member

    Joined:
    Aug 8, 2010
    Messages:
    7,624
    Likes Received:
    5,114
    Trophy Points:
    1,563
    Location:
    Ohio
    Ratings:
    +6,072
    Current Phone Model:
    Nexus 6P/5X
    1. Download the attached ADB_Files.zip.
    2. Create a new folder in root of C. ADB is the easiest to remember
    3. Extract the files to ADB
    4. Plug in your phone with a USB cable. Make sure USB Debugging is enabled
    5. Open a new CMD screen (Win key + R, type in CMD)
    6. Change the working directory to C:\ADB ( CD C:\ADB)
    7. Type in ADB version, what displays? I see Android Debug Version XXX
    Once you're that far, we'll keep going.
     

    Attached Files:

    • Like Like x 2
  9. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Working on it. Back in a few. Thanks.
     
  10. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Android Debug Bridge version 1.0.32
    Revision eac51f2bb6a8-android
     
  11. Mustang02

    Mustang02 Diamond Member

    Joined:
    Aug 8, 2010
    Messages:
    7,624
    Likes Received:
    5,114
    Trophy Points:
    1,563
    Location:
    Ohio
    Ratings:
    +6,072
    Current Phone Model:
    Nexus 6P/5X
    Good.

    1. enter in ADB Devices, what does it show?
     
  12. mark7atl

    mark7atl New Member

    Joined:
    Nov 3, 2015
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Current Phone Model:
    LG Leon
    Shows "List of devices attached" and nothing below it.