日期:2014-05-17 浏览次数:20849 次
RegistryKey shell = Registry.ClassesRoot.OpenSubKey(@"*\shell", true);
RegistryKey custom = shell.CreateSubKey("解压gzk");
RegistryKey cmd = custom.CreateSubKey("command");
cmd.SetValue(string.Empty, sFullName);
cmd.Close();
custom.Close();
shell.Close();