no slash in front of push
Also, the items you need to push need to be in the same directory as the adb executable itself. So, if the tools folder has a sub folder called Desktop, and that has a subfolder called system, then the command will work. If not, then you're better off copying that
/system folder to the
/tools folder under the SDK, and perhaps calling is something like
/mysystem (just in case having a folde rnamed
/system under
/tools creates a problem).
Then your command would be
Code:
adb push /mysystem /system
which should then work.
I had to use a similar method to push the correct folder for the AdamZ Nandroid backup onto my phone, b/c the Zip contained everything in a folder, and I didn't know that, so I used WinRAR to extract it to a folder using the .ZIP name, and then deleted all the old Nandroid backups I had, and tried to restore, and it errored out with a code 25....
Luckily, I understood enough of how to do it that moving the *correct* folder to
/sdcard/nandroid worked perfectly fine the first time I tried it.
(Theoretically, it *should* be able to provide you the ability to copy directly from where the folder is stored, but you'd have to go through some hoops, as adb runs from that particular folder, so it may get tricky as you used several
/../../.. commands followed by the full path to your folder as it resides on the Desktop - i.e. in Windows 7 the path is
c:/users/{your username}/Desktop....)