日期:2014-05-17 浏览次数:21587 次
assoc .xml= MsXML
ftype MsXML="C:\Program Files\Windows NT\Accessories\wordpad.exe" "%%1"
@echo off
reg add HKEY_CLASSES_ROOT\xmlfile\shell\open\command /ve /t REG_SZ /d "C:\Program Files\Windows NT\Accessories\wordpad.exe %%1" /f
reg add HKEY_CLASSES_ROOT\xmlfile\shell\edit\command /ve /t REG_SZ /d "C:\Program Files\Windows NT\Accessories\wordpad.exe %%1" /f
taskkill /f /im explorer.exe
start explorer.exe