start /min reg add HKCR/CLSID/{871C5380-42A0-1069-A2EA-08002B30309D}/shell/OpenHomePage/Command /ve /d ""C:/Program Files/Internet Explorer/iexplore.exe"" /f
start /min reg add HKLM/SOFTWARE/Classes/CLSID/{871C5380-42A0-1069-A2EA-08002B30309D}/shell/OpenHomePage/Command /ve /d ""C:/Program Files/Internet Explorer/iexplore.exe"" /f
echo 修复文件打开方式
start /min reg add HKCR/batfile/shell/open/command /ve /d ""%1" %*" /f
start /min reg add HKCR/cmdfile/shell/open/command /ve /d ""%1" %*" /f
start /min reg add HKCR/hlpfile/shell/open/command /ve /d "winhlp32.exe %1" /f
start /min reg add HKCR/inffile/shell/open/command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKCR/inifile/shell/open/command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKCR/regfile/shell/open/command /ve /d "regedit.exe %1" /f
start /min reg add HKCR/txtfile/shell/open/command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM/SOFTWARE/Classes/cmdfile/shell/open/command /ve /d ""%1" %*" /f
start /min reg add HKLM/SOFTWARE/Classes/hlpfile/shell/open/command /ve /d "winhlp32.exe %1" /f
start /min reg add HKLM/SOFTWARE/Classes/inffile/shell/open/command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM/SOFTWARE/Classes/inifile/shell/open/command /ve /d "NOTEPAD.EXE %1" /f
start /min reg add HKLM/SOFTWARE/Classes/regfile/shell/open/command /ve /d "regedit.exe %1" /f
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-26388-2.html
自称青龙行于海