I am trying to familiarise myself with using adb from the command prompt.
My adb.exe is installed at:
C:\Program Files(x86)\Android\android-sdk\platform-tools
I have tried starting off by typing in cd:C\ to take me to the C drive
Then I have typed in the path quoted above, sometimes putting Program Files(x86) in quote marks,
other times inserting % in between Program and Files.
But always I get the same answer – “The system cannot find the path specified”.
Even when I type the path and then put in “adb devices” I get nothing.
I have tried inserting each of the following in the path in system variables as follows:
;C:\”Program Files(x86)”\Android\android-sdk\platform-tools\
C:\”Program Files(x86)”\Android\android-sdk\platform-tools\
;C:\Program Files(x86)\Android\android-sdk\platform-tools
And then typing “adb devices”.
The message is the same – “adb is not recognised as an internal or external command, operable program or batch command.
You can call adb directly from the directory you are currently in:
"C:\Program Files(x86)\Android\android-sdk\platform-tools\adb.exe"(With quotes!)You can also navigate to the
platform-toolsdirectory and then calladb.exe, usecd ..to go to a directory level up, you can hitTABto let windows list the appropriate directories, this works also if one or more characters are entered.Btw, just added “C:\Program Files\Android\android-sdk\platform-tools” to my
PATHand it works just fine! Separate the entires with a semicolon.