Hi!
I created a batch file to list every .apk file inside that same directory!
with the code:
@echo
for /r . %%g in (*.apk) do echo %%~nxg >> list.txt
The final listing (list.txt) is for example:
AccuweatherDaemon.apk
AccuWeatherDaemonService.apk
AccuweatherWidget.apk
AccuweatherWidget_Main.apk
After i get this listing i created another batch to create a specific code to create specific list for the files inside the list.txt:
@echo off
for /f "tokens=*" %%A in (list.txt) do (
echo.symlink("/preload/symlink/system/app/%%~nA.apk","/system/app/%%~nA.apk"); >> symlinks.txt
)
And i wanted the final listing to appear as:
symlink("/preload/symlink/system/app/AccuweatherDaemon.apk","/system/app/AccuweatherDaemon.apk");
symlink("/preload/symlink/system/app/AccuWeatherDaemonService.apk","/system/app/AccuWeatherDaemonService.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget.apk","/system/app/AccuweatherWidget.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget_Main.apk","/system/app/AccuweatherWidget_Main.apk");
But what i get is:
symlink("/preload/symlink/system/app/AccuweatherDaemon.apk","/system/app/AccuweatherDaemon.apk"
symlink("/preload/symlink/system/app/AccuWeatherDaemonService.apk","/system/app/AccuWeatherDaemonService.apk"
symlink("/preload/symlink/system/app/AccuweatherWidget.apk","/system/app/AccuweatherWidget.apk"
symlink("/preload/symlink/system/app/AccuweatherWidget_Main.apk","/system/app/AccuweatherWidget_Main.apk"
Somehow the ); is getting ignored!
Anyone know how to fix it?
Thanks