升级了win10系统以后发现,原来在win8.1写的脚本已经不能使用了,原因是注册表里面有文件名称有了改变,为了避免麻烦,所以在此贴出win10的脚本文件。具体过程与win8.1没有什么区别。
图解详见:去除win8.1我的电脑文件项
脚本如下:
@echo off echo Date: 2015-7-19 echo Author: Created by 龙魂博客 echo Mail: [email protected] echo Function: 时间同步脚本. echo Website: blog.wlzs.cn set RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\ set Music={3dfdf296-dbec-4fb4-81d1-6a3438bcf4de} set Download={088e3905-0323-4b02-9826-5d99428e115f} set Video={f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a} set Picture={24ad3ad4-a569-4530-98e1-ab02f9417aa8} set Document={d3162b92-9365-467a-956b-92703aca08af} set Desktop={B4BFCC3A-DB2C-424C-B029-7FE99A87C641} :start echo 1.去除我的电脑文件项 echo 2.恢复我的电脑文件项 set /p ml=输入要操作的选项: if %ml% LEQ 2 ( goto first ) else ( goto start ) :first if %ml% == 1 ( goto one ) else ( goto two ) :one reg delete %RegPath%%Music% /f reg delete %RegPath%%Desktop% /f reg delete %RegPath%%Document% /f reg delete %RegPath%%Download% /f reg delete %RegPath%%Picture% /f reg delete %RegPath%%Video% /f pause exit :two reg add %RegPath%%Music% reg add %RegPath%%Desktop% reg add %RegPath%%Document% reg add %RegPath%%Download% reg add %RegPath%%Picture% reg add %RegPath%%Video% pause exit程序下载:http://blog.wlzs.cn/wp2pcs/软件/去除win10我的电脑文件项.bat
二〇一五年八月三日 10:45:46
评论区