Document

Header snippet

保存windows 10的登录界面壁纸

准备工作

将下面代码保存到

C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Copy_wallpaper_at_startup.bat

即可开机自动运行

SET wallpaper_dir=C:\Users\%username%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\

REM ------------------------------------------------------
REM REM move %wallpaper_dir%\* C:\wallpaper\*.jpg
REM REM Run above commands results in error
REM REM instead of do it in one step, renaming it then move

REM REN  %wallpaper_dir%\* *.jpg
REM MOVE %wallpaper_dir%\*.jpg C:\wallpaper
REM PAUSE
REM ------------------------------------------------------

mkdir C:\wallpaper
copy %wallpaper_dir%\* C:\wallpaper\*.jpg

壁纸保存在 C:\wallpaper\

posted @ 2020-03-06 11:02  codworm  阅读(837)  评论(0编辑  收藏  举报
Document

Footer snippet