Talk is cheap, show the code!

@echo on
cd /d %~dp0


set focusPath=%localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets
set targetPath=D:\Wallpaper_WindowsFocus
set cachePath=%~dp0tmp
md %cachePath%


echo Copying files to %cachePath%   ...
copy %focusPath%\*.* %cachePath%


echo Rename to *.jpg...
cd %cachePath%
ren *.* *.jpg

echo Move to targetPath %targetPath%   ...
cd %cachePath%
move *.* %targetPath%
cd /d %~dp0
rd /s /Q %cachePath%

echo Press any key to finish.
pause>nul