Computer Hope

Microsoft => Microsoft DOS => Topic started by: Deon on February 13, 2017, 01:58:30 AM

Title: command prompt to samsung galaxy j2 model SM-J200F
Post by: Deon on February 13, 2017, 01:58:30 AM
Greetings,
Windows 7, my computer show the device as "Galaxy J2". How do i access this device from the command prompt? Thanks.
Title: Re: command prompt to samsung galaxy j2 model SM-J200F
Post by: DaveLembke on February 13, 2017, 06:04:51 AM
Why do you need to access it from command prompt? What are you trying to do so we can better assist if its even possible or not?
Title: Re: command prompt to samsung galaxy j2 model SM-J200F
Post by: Deon on February 14, 2017, 12:35:37 PM
Thank you, I want to run eg. dir/s to analysis the files on the mobile phone.
Title: Re: command prompt to samsung galaxy j2 model SM-J200F
Post by: BC_Programmer on February 14, 2017, 01:03:08 PM
You can't. At least, not easily.

Phones do not connect as Mass Storage devices. They connect, instead, via the Media Transfer Protocol. They don't appear as storage drives, but instead are interfaced via a different protocol. This is out of reach of the Command Prompt in general.

The only way to get this, I think, would be to root the phone and install some sort of software designed to allow the phone to be exposed as a Mass storage device instead of an MTP device.

Maybe it can be manipulated directly via Powershell?
Title: Re: command prompt to samsung galaxy j2 model SM-J200F
Post by: Salmon Trout on February 14, 2017, 01:14:13 PM
You can install an SSH or Telnet server on an Android phone and open a console to it.
Title: Re: command prompt to samsung galaxy j2 model SM-J200F
Post by: Deon on February 15, 2017, 01:53:57 PM
Thank you, I have installed telnetd on mobile. Please explain to me the steps how to use it. Thank you.