Customize Desktop

Using Batch file in Windows 10

Open Notepad and paste the following text then save the file. Change the file extension to .bat and just like that you have created a batch file to move custom folders with background images into your pictures "Saved Pictures" folder and then the wallpaper.jpg file will be set as your default background. Happy hacking!


@echo off


REM COPY PICTURES

copy "Pictures\*.*" "C:\Users\SNULabSchool\Pictures\*.*" /a

copy "Pictures\Saved Pictures\*.*" "%USERPROFILE%\Pictures\Saved Pictures\*.*" /a

copy "Fonts" "C:\Windows\Fonts"


REM SET DEFAULT BACKGROUND

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "%USERPROFILE%\Pictures\Saved Pictures\wallpaper.jpg" /f

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters


pause

REM exit