亚洲乱码一卡二卡三卡,综合色区亚洲熟妇p,一区,二区,三区色视频 ,亚洲欧美日韩在线观看一区二区三区,亚洲综合在线另类色区奇米

找軟件用軟件,就到華軍軟件園! 軟件發(fā)布 AI產(chǎn)品榜
所在位置: 首頁 — 教程攻略 — 教程 — 電腦軟件教程  —  Win7右鍵”...

Win7右鍵”打開方式“有兩個記事本選項(xiàng)怎么辦?

作者:五馬相思 日期:2017-06-01

Win7右鍵”打開方式“有兩個記事本選項(xiàng)怎么辦?

  原因分析:

  因?yàn)樵谖覀兿到y(tǒng)windows文件夾(C:Windows)和system32文件夾(C:WindowsSystem32)下面各有一個notepad.exe程序,系統(tǒng)在注冊應(yīng)用程序和文件關(guān)聯(lián)打開方式的時候,分別使用了它們,但是打開方式又要讀取這兩個地方,所以就出現(xiàn)兩個記事本了。

  解決方法:

  1、首先創(chuàng)建批處理,用來處理這個問題,把里面的代碼復(fù)制粘貼到文本文件,保存為后綴.bat的文件,執(zhí)行就可以了。

  @echo off

  if exist “%systemroot%notepad.exe” set Npath=“%systemroot%notepad.exe %”1

  if not exist “%systemroot%notepad.exe” set Npath=“%systemroot%system32notepad.exe %”1

  reg add “HKCRtxtfileshellopencommand” /ve /d %Npath% /t REG_SZ /f

  reg add “HKCRApplicationsnotepad.exeshellopencommand” /ve /d %Npath% /t REG_SZ /f

  reg add “HKCRSystemFileAssociationstextshellopencommand” /ve /d %Npath% /t REG_SZ /f

  2、然后就可以解決右鍵選擇打開方式中出現(xiàn)兩個記事本選項(xiàng)了。

  命令簡單介紹:

  if exist “%systemroot%notepad.exe” set Npath=“%systemroot%notepad.exe %”1

相關(guān)文章