w10install/apps/download-apps-from-source.cmd
Michael H.G. Schmidt e94a496991 .
2023-01-01 18:04:13 +01:00

30 lines
639 B
Batchfile

@echo off
set LISTFILE=apps.txt
set APPSFOLDER=storeapps
IF NOT EXIST %LISTFILE% (
echo ERROR: %LISTFILE% not found!
exit /b
)
echo using list [ %LISTFILE% ] ...
mkdir %APPSFOLDER% 2>nul
rem ###################################
rem MAIN loop ( download all apps ) ...
rem ###################################
FOR /F "tokens=1" %%E in (%LISTFILE%) do (
echo URL = [ %%E ]
rem powershell -command .\Download-AppxFromStore.ps1 %%E %APPSFOLDER%
echo.
)
echo Cleanup ...
del /F /Q %APPSFOLDER%\*.BlockMap
del /F /Q %APPSFOLDER%\*x86*
del /F /Q %APPSFOLDER%\*arm*
del /F /Q %APPSFOLDER%\*.eappxbundle