Run Fastboot, ADB, etc. from anywhere on your PC

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
0
The Woodlands, TX
Had some interest in this, so I thought I'd make a quick thread about it. Not a big secret or anything, just a little time saver.

Here is how to set up your computer so that you can run a fastboot, adb, etc. command from anywhere in the file system. You will no longer have to goto the fastboot folder and the type the full file path to the file you are trying to install, push, etc. if you saved it somewhere else, or clutter up the same folder you have these important files saved in.
*These instructions are for Windows 7 (x64):

First make sure that your fastboot files, adb files, moto-fastboot files are in a folder that isn't going anywhere (give them a permanent home on your pc :) ).

Then do the following:

Navigate to: Control Panel -> System ->Advanced System Settings -> Advanced Tab -> Environmental Variables

Under "System variables" scroll down to the variable labeled "Path" and choose Edit.

Go to the end of the Variable Value and add a ";" (no quotes) if needed on the end of the last variable, and then add the complete file path to the location of your files (only add spaces if there are spaces in the file path). So mine would be: ....;C:\android-sdk-windows\tools

OK out of everything.

Now you can just shift + right-click in the folder you saved the file, Open command window and type the command.

*Note: If you change the location of your fastboot files, you will have to change the location in the variable path again, otherwise this wont work. Capiche?
 
Last edited:

[email protected]

New member
Jan 1, 2013
2
0
0
Had some interest in this, so I thought I'd make a quick thread about it. Not a big secret or anything, just a little time saver.

Here is how to set up your computer so that you can run a fastboot, adb, etc. command from anywhere in the file system. You will no longer have to goto the fastboot folder and the type the full file path to the file you are trying to install, push, etc. if you saved it somewhere else, or clutter up the same folder you have these important files saved in.
*These instructions are for Windows 7 (x64):

First make sure that your fastboot files, adb files, moto-fastboot files are in a folder that isn't going anywhere (give them a permanent home on your pc :) ).

Then do the following:

Navigate to: Control Panel -> System ->Advanced System Settings -> Advanced Tab -> Environmental Variables

Under "System variables" scroll down to the variable labeled "Path" and choose Edit.

Go to the end of the Variable Value and add a ";" (no quotes) if needed on the end of the last variable, and then add the complete file path to the location of your files (only add spaces if there are spaces in the file path). So mine would be: ....;C:\android-sdk-windows\tools

OK out of everything.

Now you can just shift + right-click in the folder you saved the file, Open command window and type the command.

*Note: If you change the location of your fastboot files, you will have to change the location in the variable path again, otherwise this wont work. Capiche?
Thanks you as I had trouble with this for my nabi2 ;)
 

hannki

Member
Feb 15, 2013
38
14
0
Huge thank you! I knew i could do this somehow, but havet managed to do so before. Whit this guide i managed to get it working in windows 10 enviroment.