top of page

右按滑鼠鍵顯示cmd

  • 作家相片: Wells Chow
    Wells Chow
  • 2019年3月30日
  • 讀畢需時 1 分鐘

已更新:2019年3月31日

有時候想用命令提示字元模式下執行一些檔案,其實可把命令提示字元加入右按滑鼠鍵選單中。 方法如下:

建立一個文字檔案,名稱例如: rightcmd.reg ,內容鍵入如下資料,完成後並儲存,然後雙擊這檔案,便可將cmd的選項,加入到註冊檔內。


Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt] @=”Command Prompt:” [HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\Command] @=”cmd.exe /k cd %1″


以後在畫面的空白處右按滑鼠鍵,便會顯示cmd 命令提示字元模式功能以供使用。


20190331_0165




Comments


bottom of page