T2Noob's batch file looks very nice and robust. However, one thing to keep in mind:
You need to do
one of the following:
- Copy and extract the .ZIP files in the same location as where adb.exe is located, so you can run the batch file and it will successfully call adb
- Modify your PATH statement so that it also contains the SDK directory as well as the location of the adb.exe file (I think it just changed with the new API 9 files, b/c I had to edit my PATH statement again for the first time in a long time, so if your old PATH statement all of a sudden no longer works go find where adb.exe is now located and update your PATH statement to reflect the change))
HTH