获取系统内RAR安装路径

RegistryKey the_Reg = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WinRAR.exe");

Console.WriteLine(the_Reg.GetValue(""));

你可能感兴趣的:(获取系统内RAR安装路径)