Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #154729

Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs

From ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups comp.mobile.android, alt.msdos.batch, alt.comp.os.windows-10
Subject Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs
Date 2026-08-06 20:28 +0000
Organization Stefan Ram
Message-ID <string-20260806212722@ram.dialup.fu-berlin.de> (permalink)
References <1152p8r$eh8$1@nnrp.usenet.blueworldhosting.com> <1152qds$amb$1@nnrp.usenet.blueworldhosting.com>

Cross-posted to 3 groups.

Show all headers | View raw


Maria Sophia <mariasophia@comprehension.com> wrote or quoted:
>To be clear, the Windows batch problem I'm running into is:

  Not sure if I got the problem right. But this example batch
  here strips the initial "package:" and the final "= . . .":

@ECHO OFF
SETLOCAL enabledelayedexpansion

SET "mystring=package:mykey=myvalue=extradata"

IF /i "!mystring:~0,8!"=="package:" (
    SET "mystring=!mystring:~8!"
)

:LOOP
IF "!mystring:~-1!"=="=" (
    SET "mystring=!mystring:~0,-1!"
    GOTO :DONE
)
SET "mystring=!mystring:~0,-1!"
IF NOT "!mystring!"=="" GOTO :LOOP

:DONE
ECHO Result: %mystring%
@REM Result: mykey=myvalue
PAUSE

  However, it has not been tested for all edge cases.

Back to comp.mobile.android | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 20:02 +0000
  Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 12:22 -0800
    Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 12:26 -0800
      Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-07 04:52 +0800
    Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs ram@zedat.fu-berlin.de (Stefan Ram) - 2026-08-06 20:28 +0000
      Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 12:40 -0800
        Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 13:07 -0800
          Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 13:27 -0800
            Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs ram@zedat.fu-berlin.de (Stefan Ram) - 2026-08-06 21:32 +0000
              Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-06 13:55 -0800
                Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Paul <nospam@needed.invalid> - 2026-08-07 00:17 -0400
                Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs ram@zedat.fu-berlin.de (Stefan Ram) - 2026-08-07 11:08 +0000
                Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Maria Sophia <mariasophia@comprehension.com> - 2026-08-07 06:50 -0800
                Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs ram@zedat.fu-berlin.de (Stefan Ram) - 2026-08-07 14:57 +0000
    Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs Herbert Kleebauer <klee@unibwm.de> - 2026-08-07 22:15 +0200
  Re: Need help getting Windows to list all files inside every APK and then look for advertising SDKs JJ <jj4public@gmail.com> - 2026-08-07 22:05 +0700

csiph-web