When I try to root my phone, the droid razr m, it says,

adb is not recognized as an intenal or external command,
operable program or batch file.

I have debugging mode enabled, mock locations enabled and unknown sources enabled too.