`
onlysoymilk
  • 浏览: 98379 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

"DOS Here" 两种自制方式

阅读更多

第一种 写入注册表

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\""

第二种 inf文件安装

;
; "Command Prompt Here" PowerToy
;
; Copyright 1996 Microsoft Corporation
;
[version]
signature="$CHICAGO$"

[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="DOS Here PowerToy"
DosHereAccel="Command &Prompt Here"
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\DosHere"

 

 

分享到:
评论

相关推荐

    Dos Here

    NULL 博文链接:https://egox.iteye.com/blog/1154234

    nokia map here手册

    nokia map here开发手册 诺基亚新版本跨平台地图 here 开发者手册 用于了解here的开发详情

    从任何目录可以快速进入DOS

    增加右键菜单: Command Prompt Here 从任何目录都可以快速进入dos.

    诺基亚Here地图 ISO版 (Here 1.0.ipa)

    诺基亚Here地图提供免费的turn-by-turn语音导航,公共交通信息,以及丰富的道路交通信息等。 提供离线地图下载,高清语音导航,离线导航,卫星地图,交通状况等功能,堪称出国旅行必备利器! AppStore预览地址: ...

    using using here here

    using using here here using using here here using using here here

    right here waiting 简谱

    right here waiting 的简谱 图片

    HEREAFTER

    HEREAFTER

    here first java 中文版

    here first java 中文版,全集,适合编程初学者

    Dos命令大全

    Sample:@Rem Here is the description. 5.Pause 命令 运行 Pause 命令时,将显示下面的消息: Press any key to continue . . . Sample: @echo off :begin copy a:*.* d:\back echo Please put a new disk ...

    Here2+CAN模式说明v2.pdf

    Here2+CAN模式说明v2.pdf

    Command Prompt Here.zip

    Command Prompt Here.zip为右键菜单添加从这里打开命令行选项。

    shell_here_documents用法

    shell_here_documents用法

    MAKEDIST_DOS程序

    The following individuals have donated their time and effort into creating DOS-C and associated utilities. Their contribution is ...here as a small token of appreciation from all users of DOS-C.

    markdown here

    此文件是chrome浏览器的一个插件:markdown here,作用是用markdown写一份漂亮的电子邮件,也是在微信公众号中写试用markdown编写文本的时候的一个帮助插件。

    Download-Here.zip_DEMO_DOWNLOADHERE_Money Pile EA_money pile下载_t

    Is the demo version of Money Pile EA

    Zotero的MarkDown Here插件

    让文献管理软件Zotero的笔记拥有MarkDown功能的插件。下载后在Zotero软件中安装即可——Zotero软件之【工具】菜单→【附加组件】(或许显示为插件),将进入Zotero的插件安装页面,直接将下载的xpi文件拖到此即可...

    Optical Lithography: Here is Why

    This book is aimed at new and experienced engineers, technology managers, and senior technicians who want to enrich their understanding of the image formation physics of a lithographic system....

    诺基亚here地图

    诺基亚here地图 安卓版 强大的地图 安装包

    markdown_here2.12.0_0.rar

    微信公众号markdown插件,markdown_here2.12.0_0,解压后用谷歌浏览器添加即可使用,使用教程需要自己百度。

Global site tag (gtag.js) - Google Analytics