发布时间:2026-07-05 09:57:30 分类:营销学堂
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。