经常要重启iis,所以需要一个批处理的文件,将下面两行代码存为xxx.bat
net stop w3svc
net start w3svc
经常需要注册、卸载dll,所以需要在右键菜单中添加两行注册和反注册dll项,将下面几行代码存为xxx.reg,注入注册表
windows registry editor version 5.00
[hkey_classes_rootdllfileshell]
[hkey_classes_rootdllfileshell注册]
[hkey_classes_rootdllfileshell注册command]
@="regsvr32 %1"
[hkey_classes_rootdllfileshell反注册]
"command"="regsvr32 %1 /u"
[hkey_classes_rootdllfileshell反注册command]
@="regsvr32 %1 /u"
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!