Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to save windows lock screen images

# STEPS (automation script is provided at the bottom):
# 1. Press Windows+R to open Run dialog
# 2. Copy/paste the below address and press Enter
	%userprofile%AppDataLocalPackagesMicrosoft.Windows.ContentDeliveryManager_cw5n1h2txyewyLocalStateAssets
# 3. Copy all the files and paste them in a different location (say D:Temp)
# 4. Navigate to the new location (D:Temp) using cmd
# 5. Rename all the files using the following command in cmd
	ren *.* *.jpg
# 6. VOILA...your wallpapers can be found in the new location (D:Temp)
#==============================================================================
# Save the below code in a batch file (windows_wallpapers.bat) and just run it
# Source: https://github.com/astr0n0mer/tools-and-resources/blob/main/qol-scripts-for-windows/script-get_windows_lockscreen_wallpapers.bat
@echo off
SET destinationFolder=windows-lockscreen-wallpapers
if not exist "%destinationFolder%" mkdir "%destinationFolder%"
copy "%userprofile%AppDataLocalPackagesMicrosoft.Windows.ContentDeliveryManager_cw5n1h2txyewyLocalStateAssets*.*" "%destinationFolder%"
cd "%destinationFolder%"
ren *.* *.jpg
del *.
pause
Comment

PREVIOUS NEXT
Code Example
Shell :: grep nth line after match 
Shell :: how to exit root in linux 
Shell :: delete commit head 
Shell :: how to install kind in ubuntu 
Shell :: git reflog 
Shell :: golang 
Shell :: install sqlite browser 
Shell :: git set origin 
Shell :: how to update an existing repository in github 
Shell :: setup ngrok in windows subsystem for linux 
Shell :: powershell check if user is admin 
Shell :: scp folder from server to local 
Shell :: yum install package with version 
Shell :: install spicetify on windows 
Shell :: add user to sudoer 
Shell :: git see tags 
Shell :: npm global installation not showing 
Shell :: error TS1056 
Shell :: powershell http request 
Shell :: config vscode terminal to bash default 
Shell :: git update comment 
Shell :: git check which files are committed 
Shell :: powershell check if software is installed 
Shell :: apt-key export import 
Shell :: install sqlite in ubuntu 
Shell :: git merge a file from another branch to current branch 
Shell :: active developer path does not exist 
Shell :: cudnn version linux 
Shell :: how to remove empty directories 
Shell :: undo last commit 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =