回覆列表
  • 1 # 漁樵娛樂

    1、在設定前,系統右鍵選單如下圖所示,並沒有“在此處開啟命令視窗”;

    2、開啟記事本,將如下內容複製到記事本中;

    01Windows Registry Editor Version 5.00

    02[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]

    03@="在此處開啟命令提示符"

    04"Icon"="cmd.exe"

    05[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]

    06@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList "/s,/k, pushd,%V" -Verb RunAs\""

    07[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]

    08@="在此處開啟命令視窗"

    09"Icon"="cmd.exe"

    10[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]

    11@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList "/s,/k, pushd,%V" -Verb RunAs\""

    12[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]

    13@="在此處開啟命令視窗"

    14"Icon"="cmd.exe"

    15[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]

    16@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList "/s,/k, pushd,%V" -Verb RunAs\""

    17[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]

    18@="在此處開啟命令視窗"

    19"Icon"="cmd.exe"

    20[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\command]

    21@="PowerShell -windowstyle hidden -Command \"Start-Process cmd.exe -ArgumentList "/s,/k, pushd,%V" -Verb RunAs\""

    複製程式碼

    7、這樣操作之後,桌面右鍵選單就成功新增“在此處開啟命令視窗”選項了,如下圖所示。

  • 中秋節和大豐收的關聯?
  • 穿的反義詞是什麼?