txt文本忽然打不开显示Microsoft WinRT Storage API

sg2026-07-05 09:54:57

Microsoft WinRT Storage API 不是打开文件的程序,点击会提示「找不到元素」无法打开 txt。
 

Win+X → 选择 Windows 终端 (管理员) / 命令提示符 (管理员)
逐条复制执行下面 3 行:

 

:: 重置txt文件类型关联
assoc .txt=txtfile
:: 绑定记事本为打开程序
ftype txtfile="C:\Windows\system32\notepad.exe" %1
:: 重启资源管理器生效
taskkill /f /im explorer.exe && start explorer.exe

执行完双击 txt 就能正常用记事本打开,不会再跳 WinRT Storage API。

曝光2698浏览200