本帖最后由 huyou96 于 2016-10-22 15:48 编辑
Windows 10 桌面壁纸的备份和恢复:有些墙纸还很漂亮,分享下该俩批处理。新手上路,多蒙指教,见笑了。
俩小小的批处理,
可揪出系统的桌面壁纸放在你图片文件夹下供欣赏使用,
也可以把自个喜欢的图片放进去用恢复批处理搞成系统壁纸。
---
Windows 10 桌面壁纸的备份用如下批处理脚本:
Win10WallpapersBackup.bat- for /f "delims=" %%f in ('dir /ad /b %LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_*') do robocopy "%LocalAppData%\Packages\%%f\LocalState\Assets" "%UserProfile%\Pictures\Wallpapers" /e /b /copyall
- ren %UserProfile%\Pictures\Wallpapers\* *.jpg
复制代码 Windows 10 桌面壁纸的恢复用如下批处理脚本:
Win10WallpapersRecover.bat- ren %UserProfile%\Pictures\Wallpapers\*.jpg *.
- for /f "delims=" %%f in ('dir /ad /b %LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_*') do robocopy "%UserProfile%\Pictures\Wallpapers" "%LocalAppData%\Packages\%%f\LocalState\Assets" /e /b /copyall
复制代码
|