右鍵新增Dos Here

2021-05-24 23:30:41 字數 2160 閱讀 3679

1、inf檔案安裝方法

將以下內容複製到乙個文字文件中,重新命名為doshere.inf,然後右鍵安裝即可

[doshereinstall]

copyfiles = doshere.files.inf

addreg    = doshere.reg

[defaultinstall]

copyfiles = doshere.files.inf

addreg    = doshere.reg

[defaultinstall.ntx86]

copyfiles = doshere.files.inf

addreg    = doshere.reg.nt

[defaultuninstall]

delfiles = doshere.files.inf

delreg    = doshere.reg

[defaultuninstall.ntx86]

delfiles = doshere.files.inf

delreg    = doshere.reg.nt

[sourcedisksnames]

55="dos prompt here","",1

[sourcedisksfiles]

doshere.inf=55

[destinationdirs]

doshere.files.inf = 17

[doshere.files.inf]

doshere.inf

[doshere.reg]

hklm,%udhere%

hklm,%udhere%,displayname,,"%dosherename%"

hklm,%udhere%,uninstallstring,,"%10%/rundll.exe setupx.dll,installhinfsection defaultuninstall 132 %17%/doshere.inf"

hkcr,directory/shell/doshere,,,"%doshereaccel%"

hkcr,directory/shell/doshere/command,,,"%10%/command.com /k cd ""%1"""

hkcr,drive/shell/doshere,,,"%doshereaccel%"

hkcr,drive/shell/doshere/command,,,"%10%/command.com /k cd ""%1"""

[doshere.reg.nt]

hklm,%udhere%

hklm,%udhere%,displayname,,"%dosherename%"

hklm,%udhere%,uninstallstring,,"rundll32.exe syssetup.dll,setupinfobjectinstallaction defaultuninstall 132 %17%/doshere.inf"

hkcr,directory/shell/doshere,,,"%doshereaccel%"

hkcr,directory/shell/doshere/command,,,"%11%/cmd.exe /k cd ""%1"""

hkcr,drive/shell/doshere,,,"%doshereaccel%"

hkcr,drive/shell/doshere/command,,,"%11%/cmd.exe /k cd ""%1"""

[strings]

dosherename="command prompt here powertoy"

doshereaccel="command &prompt here"

udhere="software/microsoft/windows/currentversion/uninstall/doshere"

2、reg檔案匯入登錄檔方法

將以下內容複製到文字文件中,重新命名為doshere.reg,雙擊匯入登錄檔即可

windows registry editor version 5.00

[hkey_classes_root/directory/shell/cmd] 

@="dos here"

[hkey_classes_root/directory/shell/cmd/command] 

@="cmd.exe /k /"cd %l/""

右鍵加入Dos here功能

新建乙個txt檔案,copy 下面2行 將檔案改為bat型別,雙擊執行即可。reg add hkcr folder shell ms dos ve d ms dos f reg add hkcr folder shell ms dos command ve d cmd.exe k cd 1 f 引數...

Sublime Text 新增右鍵

sublime text 是現在很受大家歡迎的編輯器了,不僅是在web前端,在書定簡單的php js等 時,也是相當的好用,再配合多種的外掛程式和新穎的介面,更是讓人欲罷不能。在使用時,我們通過喜歡開啟乙個檔案的時候,右擊再選擇開啟程式,比如會用記事本 notedpad 之類的,這時如果把subli...

新增右鍵選單

在右鍵選單中新增 壓縮 和 解壓 選單,壓縮和解壓時自動加密。0 準備工作 1 建立.reg檔案 分別建立壓縮和解壓選單登錄檔檔案 compression.reg decompression.reg compression.reg windows registry editor version 5....