Solved Batch file xcopy pc to android how to

mark7atl

New Member
Joined
Nov 3, 2015
Messages
24
Reaction score
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.
 

CJM

Super Moderator
Staff member
Premium Member
Rescue Squad
Joined
Sep 12, 2010
Messages
10,600
Reaction score
1,747
Location
Mississippi Gulf Coast
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
 

Mustang02

Diamond Member
Joined
Aug 8, 2010
Messages
7,531
Reaction score
5,017
Location
Ohio
Current Phone Model
Nexus 6P/5X
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
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.
 
OP
M

mark7atl

New Member
Joined
Nov 3, 2015
Messages
24
Reaction score
0
Current Phone Model
LG Leon
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
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.
 

Mustang02

Diamond Member
Joined
Aug 8, 2010
Messages
7,531
Reaction score
5,017
Location
Ohio
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.
 

Attachments

  • ADB_Files.zip
    628 KB · Views: 281
OP
M

mark7atl

New Member
Joined
Nov 3, 2015
Messages
24
Reaction score
0
Current Phone Model
LG Leon
  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.
Working on it. Back in a few. Thanks.
 
OP
M

mark7atl

New Member
Joined
Nov 3, 2015
Messages
24
Reaction score
0
Current Phone Model
LG Leon
  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.
Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android
 

Mustang02

Diamond Member
Joined
Aug 8, 2010
Messages
7,531
Reaction score
5,017
Location
Ohio
Current Phone Model
Nexus 6P/5X
Good.

  1. enter in ADB Devices, what does it show?
 
OP
M

mark7atl

New Member
Joined
Nov 3, 2015
Messages
24
Reaction score
0
Current Phone Model
LG Leon
Good.

  1. enter in ADB Devices, what does it show?
I see my phone in File Explorer, and can copy to/from it easily. Use batch file now for backup to disks and thumb drives, just not phone.
 

Mustang02

Diamond Member
Joined
Aug 8, 2010
Messages
7,531
Reaction score
5,017
Location
Ohio
Current Phone Model
Nexus 6P/5X
Shows "List of devices attached" and nothing below it.
What mode of USB is your phone in? MTP, Camera, Charging? The menu pull down at the top should tell you.
 
Top