These work in the same folder where adb is installed:įor my future reference- (Concisely: If it's not on your PATH then you have to enter the full path for it to work. Open regedit.exe, go to HKEYCLASSESROOT\Directory\shell\cmd, take ownership of the key, add your user account full permissions and change the name of the DWORD from HideBasedOnVelocityId to ShowBasedOnVelocityId to enable the command prompt entry again. Please note that adb devices works just fine in cmd, universally.Ī conclusion I drew from the answer below: Why is the behavior so even when I added the adb folder to the path variable? And how can I run the command successfully universally?ĭuring my search, I found an application which provides PowerShell ADB & Fastboot GUI - PoshADB (just wanted to share). The next time you right-click the Start menu or use the Windows key + X keyboard shortcut, the command prompt will go back to where it was originally in the Power User menu. Now, when I open PowerShell in the same folder where I've installed platform-tools and run the adb command, I get this and it's successful.\adb devicesīut when I open PowerShell elsewhere and run the command, it's not successful. Click the switch under Replace command prompt with Windows PowerShell. To replace Command Prompt with PowerShell on the Windows 10 Power User menu, follow these steps: Open Settings and go to Personalization > Taskbar. I've read some articles and am familiar with registry hacks to add "Open Command Prompt Here" and remove "Open PowerShell window here", but that's not something I would want to do, considering PowerShell is a lot more advanced than CMD. So even the menu shows an option to "Open PowerShell window here". I did some research, and found that Windows is slowly shifting to PowerShell (which is good) and (I guess) will omit the legacy CMD eventually. 2 steps to replace Command Prompt with Windows PowerShell in Quick Access Menu: Step 1: Access the Taskbar and Start Menu Properties dialog box. I installed adb and fastboot files (platform-tools) for Windows, and added the folder in the path variable so that I can access adb universally.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |