zoukankan      html  css  js  c++  java
  • win10 提示该文件没有与之关联的应用来执行该操作

    将下面代码复制进一个文本文档,然后将文本文档的txt后缀改成bat。双击运行,可以解决问题。

    问题发生原因是之前通过注册表去除了桌面图标的快捷方式的小标志。

    /-----------------------------------------------------------/

    taskkill /f /im explorer.exe

    reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "C:Windowssystem32imageres.dll,154" /t reg_sz /f

    reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "C:Windowssystem32imageres.dll,154" /t reg_sz /f

    reg add "HKEY_CLASSES_ROOTlnkfile" /v IsShortcut /t reg_sz /f

    reg add "HEKY_CLASSES_ROOTpiffile" /v IsShortcut /t reg_sz /f

    start explorer

    /-------------------------------------------------------------------/

  • 相关阅读:
    bootstrap初识
    司徒正美居中方式
    css中的浮动(float)
    fio
    简易接口测试脚本
    字符加密
    Python 汉诺塔
    Python 找零问题
    Python 二分法
    Python 冒泡排序
  • 原文地址:https://www.cnblogs.com/hukuangjie/p/11319501.html
Copyright © 2011-2022 走看看