How to access PORTABLE MEDIA PLAYER with DOS command lines?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
budhax
Posts: 59
Joined: 09 Oct 2006 12:25

How to access PORTABLE MEDIA PLAYER with DOS command lines?

#1 Post by budhax » 03 Sep 2012 14:11

Hello,
After plug-in a SAMSUNG Galaxy S or Galaxy S2 (by USB cable), I get a simple removable drive. This volume was accessible by MS-DOS command line or .CMD script. So I was able to use my MS-DOS script to backup/restore some files/settings in my smart-phone.

When I plug-in a SAMSUNG Galaxy S3, I get a PORTABLE MEDIA PLAYER. Inside this one there is a volume named "Phone" that I can access with Windows Explorer. But it doesn't look to be accessible by DOS command lines.

So, how to access "Phone" by DOS command lines?

Thanks and regards.

CONFIG: MS Windows7 SP1 Aero disabled

DOS script to check available volumes:

Code: Select all

@ECHO OFF
@SETLOCAL ENABLEDELAYEDEXPANSION
Call:GetVO "Drve"
REM ECHO.Drives  [%Drve%]

FOR %%f in (%Drve%) DO (
   ECHO.---------------------------- %%~f
   DIR /b/on "%%~f:\*.*"
   ECHO.
)
GOTO:FinN


:FinN
ENDLOCAL&ECHO.&ECHO.Press To END ......&Pause>Nul&EXIT::________________________


::********************************************************** Get List Of VOLUMES
:GetVO
SET rv=%~1&::ReturnVAR
SET LiS=
FOR /f "SKIP=1 Delims=" %%e in ('WMIC LOGICALDISK GET NAME') DO (
   SET DVN=%%~e
   IF /i NOT "%%~e"=="" (
      IF /i "!LiS!"=="" (SET LiS=!DVN:~,1!) ELSE (SET LiS=!LiS! !DVN:~,1!)
   )
)
SET %rv%=!LiS:~,-2!
GOTO:EOF

Squashman
Expert
Posts: 4113
Joined: 23 Dec 2011 13:59

Re: How to access PORTABLE MEDIA PLAYER with DOS command lin

#2 Post by Squashman » 03 Sep 2012 15:00

Read post #8 on what changed with the S3. Explains why you don't see a drive letter anymore with your S3 and some options to resolve the issue.
http://androidforums.com/android-applic ... ivers.html

budhax
Posts: 59
Joined: 09 Oct 2006 12:25

Re: How to access PORTABLE MEDIA PLAYER with DOS command lin

#3 Post by budhax » 04 Sep 2012 08:17

I think to be close to the solution. The goal is to mount the device's storage by UMS method (USB mass storage).

http://www.xda-developers.com/android/u ... axy-s-iii/

http://www.xda-developers.com/android/a ... -sandwich/

Thanks

Post Reply