Skip to content

Instantly share code, notes, and snippets.

@IamFaizanKhalid
Created November 7, 2022 14:51
Show Gist options
  • Save IamFaizanKhalid/65c7c4dca74d3fd3949aef77298533e6 to your computer and use it in GitHub Desktop.
Save IamFaizanKhalid/65c7c4dca74d3fd3949aef77298533e6 to your computer and use it in GitHub Desktop.
Windows script to save wallpapers from Windows Spotlight to Desktop.
echo off
title Windows Spotlight
cls
echo This will copy all wallpapers from %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\ to the folder "wallpaper" on the Desktop
pause
cd %userprofile%\Desktop
md wallpaper
cd wallpaper
rem md %date:/=%
rem cd %date:/=%
copy "%userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\*.*" *.jpg
cls
echo Done...
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment