惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - lanjue

印度同行成功者给我的忠告 创业型企业如何招聘销售总监 支付宝常见问题说明 读《度过有意义的生命》有感 克菲勒留给儿子的38封信 戴尔借Twitter交流平台获100万美元销售收入 前台和后台线程 如何衡量两个词的相关度 三个在线生成".ico"图片的网站 - lanjue - 博客园 小结提升网站访问量 网页设计工具补丁 各种免费在线工具收集 ip计算实例 Path.Combine (合并两个路径字符串)方法的一些使用细节 改善用户体验的alert提示效果 教你一招又叠衣服 转《浅谈数据库设计技巧》 转《“数据建模”读书笔记 》 转<数据库设计经验>
右键新建菜单中增加新类型文件
lanjue · 2008-09-17 · via 博客园 - lanjue

经常要新建mdb数据库,因为装了office2007,右键菜单里只有accdb的,郁闷,有没有办法增加.mdb的菜单呢,百度了下,找到以下文章:

学习BAT或者VBS的朋友是否有这样的烦恼,每次写代码都要先新建个计事本,然后写好代码后还要把扩展名txt改成bat或者vbs,这样多麻烦啊,现在以下代码可以帮助你解决这个麻烦

在右键菜单新建中增加新类型文件, 如果不出来,多刷新几次.
(不是所有的文件类型都可以加 .)

set ws=createobject("wscript.shell")
a=inputbox("Tell me witch file you need to create?","File creater","bat")
ws.regwrite "HKEY_CLASSES_ROOT\."&a&"\ShellNew\NullFile",""

测试后,发现这个方法对bat这些是可行的,但.mdb就不行,为什么呢,看了下注册表,发现.mdb下已经有nullFile这个值,又发现有Access.MDFILE项,点进去一看,也有ShellNew项,难道要在这里设置NullFile值,测试成功!新建菜单里终于出来了“Microsoft Access DataBase”!