Easy Restore Apps from your pc using bat file

Posted on: 05.8.09


So i found a better way less hassle to install apk’s files from a directory for those who have mybackup or any other software that backups your apps in to a zip file i was playing aroun with a batch scripts and found a nice more easy way.

usage:


  1. Extract all the apps anywhere in your pc eg: C:\apps
  2. copy all the files from the apk restore script folder inside the apps directory you extracted.
  3. run restore-apk.v1.3.bat

files:
restore-apk.v1.3.bat – script file
ren.bat – for renaming files with spaces (those who backup with appmanager application)
AdbWinApi.dll – for those who don’t have it inside system32
adb.exe – for those who don’t have it inside system32

About

FREE photo hosting by ZMPics Free Images Host


Depending on the option you select it will install the apps for files will spaces use option 1 for normal backups that has the name such as “android.androidVNC.apk” use option 2 same goes for re-installing the apps.

update: 05/17/2009

  • Cleaned the code.
  • Removed the creation of the filelist now it installs directly.
  • Made it so it works with files that contain spaces It will rename files with spaces so it can be installed. Noticed the app in the market called “appmanager save it with spaces and abd wont install them.
  • included adb.exe for those who don’t have it in system32 folder
  • added re-install option.

downlaod the script here: http://nitropr.us/scripts/apk-restore/apk.restore-v1.3.zip

bugs post here or at http://forum.xda-developers.com/showthread.php?t=491366


If you enjoyed this post, make sure you subscribe to my RSS feed!
No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

 
 
 
 
Get Adobe Flash playerPlugin by wpburn.com wordpress themes