From 90d1dcd635596fca5f57cedba61e314d05a10991 Mon Sep 17 00:00:00 2001 From: vburun <91507075+vburun@users.noreply.github.com> Date: Thu, 23 Jun 2022 23:55:37 -0400 Subject: [PATCH] Skip extracting icons Added a filter option to exclude files under 200KB in size, allowing the script to extract only the images, and not the icons. --- Individual Scripts/spotlightimageextractor.cmd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Individual Scripts/spotlightimageextractor.cmd b/Individual Scripts/spotlightimageextractor.cmd index 9884177a..99c44b9a 100644 --- a/Individual Scripts/spotlightimageextractor.cmd +++ b/Individual Scripts/spotlightimageextractor.cmd @@ -4,7 +4,7 @@ echo --------------------------------------------------------------------------- echo THIS SCRIPT WILL EXTRACT WINDOWS SPOTLIGHT IMAGES echo YOU MIGHT ENCOUNTER AN ERROR IF YOU HAVE NOT ENABLED WINDOWS SPOTLIGHT FOR YOUR LOCK SCREEN echo ----------------------------------------------------------------------------------------------- -  + echo Script created by AaravHattangadi timeout 3 > nul @@ -18,12 +18,11 @@ if not %var%== Y exit set /p optdir=Enter that path to your output directory here: cd /d %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets -xcopy /s * %optdir% +robocopy . %optdir% /s /xf /min:200000 cd %optdir% ren *.* *.jpg echo The process has completed. -echo There will be some icons copied as well. They are stored in the same folder as the spotlight images and this is a limitation of this script. echo This script will automatically close now. timeout 5