share-record

请使用Windows自带记事本编辑,其他类记事本会存在默认编码问题。

编码请使用ANSI

 

首先桌面新建文本文档,将其名称修改,注意后缀名改为  .bat

 

 

以记事本打开,刚新建bat文件

复制一下内容到bat文件中

 

-----------------------------------

set num=0

c:

cd %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

mkdir %userprofile%\Desktop\Windows10壁纸

copy *.* %userprofile%\Desktop\Windows10壁纸\

cd %userprofile%\Desktop\Windows10壁纸\

setlocal EnableDelayedExpansion

for %%n in (*) do (

set /A num+=1

ren "%%n" "壁纸_!num!.png"

)

echo "提取完成,请查看桌面,Windows10壁纸!!!"

dir

pause

-----------------------------------

 

 

 

 

 

 来源:https://jingyan.baidu.com/article/c910274b5d49a0cd361d2dd5.html

分类:

技术点:

相关文章:

  • 2021-05-15
  • 2021-11-23
  • 2022-01-02
  • 2021-12-03
  • 2021-12-13
  • 2022-01-02
猜你喜欢
  • 2021-07-17
  • 2021-12-01
  • 2021-12-23
  • 2022-01-02
  • 2022-12-23
相关资源
相似解决方案