【发布时间】:2011-11-04 05:35:26
【问题描述】:
我想在桌面背景右键有个条目。
我尝试过编辑注册表值。当我用谷歌搜索时,我知道我们必须将条目放在“HKEY_CLASSES_ROOT\Directory\Background\shell”中
所以,我在注册表中创建了以下键:
- 'HKEY_CLASSES_ROOT\Directory\Background\shell\Notepad' 值为'记事本'
- “HKEY_CLASSES_ROOT\Directory\Background\shell\Notepad\command”,值为“C:\WINDOWS\system32\notepad.exe”
当我在 windows7 中尝试它时,它工作正常。
但它在 windows xp 中不起作用
谁能帮我解决这个问题?
提前致谢
【问题讨论】:
标签: c# .net windows-xp registry contextmenu