├── pulls-pictures.webp ├── LICENSE ├── README.md └── pulls-pictures-2024-v3.bat /pulls-pictures.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NHLOCAL/Pulls-pictures/HEAD/pulls-pictures.webp -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 NHLOCAL 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pulls-pictures 2 | 3 | ![Pulls-pictures](pulls-pictures.webp) 4 | 5 | This repository contains a script that extracts **Windows lock screen images**, **Windows Spotlight images**, and **Bing wallpaper images** into designated folders on your computer. 6 | 7 | ## Features 8 | 9 | - **New! Updated script for 2024**: 10 | - **Compatibility**: Fully compatible with Windows 11 23H2 and above. 11 | - **Replication**: Also replicates desktop wallpaper images. 12 | 13 | ## Instructions 14 | 15 | 1. **Download the Scripts**: 16 | Download the latest version of the scripts from [here](https://github.com/NHLOCAL/Pulls-pictures/releases). 17 | 18 | 2. **Run the Script**: 19 | Navigate to the folder where you've downloaded the script and run the batch file: 20 | ```sh 21 | pulls-pictures-2024-v3.bat 22 | ``` 23 | 24 | 3. **Enjoy Your Images**: 25 | The script will create a folder on your Desktop: 26 | - `New computer images` 27 | 28 | ## Contributions 29 | 30 | Contributions are welcome! Please feel free to submit a Pull Request or open an Issue with any suggestions or improvements. 31 | 32 | ## License 33 | 34 | This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details. -------------------------------------------------------------------------------- /pulls-pictures-2024-v3.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | title pulls pictures 2024 3 | 4 | set "source1=%localappdata%\Packages\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\LocalCache\Microsoft\IrisService" 5 | set "source2=%localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets" 6 | set "source3=%localappdata%\Microsoft\BingWallpaperApp\WPImages" 7 | set "destination1=%userprofile%\Desktop\New computer images\Spotlight images" 8 | set "destination2=%userprofile%\Desktop\New computer images\Lock images" 9 | set "destination3=%userprofile%\Desktop\New computer images\Bing images" 10 | 11 | rem Create destination folders if they don't exist 12 | if not exist "%destination1%" mkdir "%destination1%" 13 | if not exist "%destination2%" mkdir "%destination2%" 14 | 15 | rem Copy images from the first source folder to Spotlight images 16 | for /r "%source1%" %%F in (*) do ( 17 | rem Check if the image already exists in the destination folder 18 | if not exist "%destination1%\%%~nxF" ( 19 | rem Copy the image to the destination folder if it doesn't exist 20 | copy "%%F" "%destination1%" 21 | ) 22 | ) 23 | 24 | rem Copy images from the second source folder to Lock images and add .jpg extension 25 | for /r "%source2%" %%F in (*) do ( 26 | rem Check if the image already exists in the destination folder 27 | if not exist "%destination2%\%%~nxF.jpg" ( 28 | rem Copy the image to the destination folder with .jpg extension if it doesn't exist 29 | copy "%%F" "%destination2%\%%~nxF.jpg" 30 | ) 31 | ) 32 | 33 | rem Check if the Bing images source folder exists 34 | if exist "%source3%" ( 35 | echo Bing images folder found, copying images... 36 | 37 | rem Create destination folder if he don't exist 38 | if not exist "%destination3%" mkdir "%destination3%" 39 | 40 | rem Copy Bing images from the third source folder to Bing images 41 | for /r "%source3%" %%F in (*) do ( 42 | rem Check if the image already exists in the destination folder 43 | if not exist "%destination3%\%%~nxF" ( 44 | rem Copy the Bing image to the destination folder 45 | copy "%%F" "%destination3%" 46 | ) 47 | ) 48 | 49 | rem Check if WPPrefs.bin exists and delete it 50 | if exist "%destination3%\WPPrefs.bin" ( 51 | del "%destination3%\WPPrefs.bin" 52 | ) 53 | ) 54 | 55 | echo All images copied successfully. 56 | pause 57 | --------------------------------------------------------------------------------