RegistryKey key; key = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo"); string MUIVerb = "Universal Send To"; string ExtendedSubCommandsKey = @"*\shell\UniSendTo\MainMenu"; key.SetValue("MUIVerb", MUIVerb); key.SetValue("ExtendedSubCommandsKey",ExtendedSubCommandsKey); RegistryKey key1 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu"); key1 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell"); RegistryKey key2 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell\HomePC"); string MUIVerb1 = "Home PC"; key2.SetValue("MUIVerb",MUIVerb1); string ip = "192.168.1.22"; key2.SetValue("IP",ip); RegistryKey key3 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell\HomePC\command"); key3.SetValue("",@"H:\ERT\FileTransfer.exe");
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter