nightmare3519 Posted March 22, 2013 Share Posted March 22, 2013 (edited) Edited September 2, 2014 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 23, 2013 Share Posted March 23, 2013 Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Macromedia\\FlashPlayer", "CurrentVersion", "12,00,11,25", REG_SZ) Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted March 23, 2013 Author Share Posted March 23, 2013 Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Macromedia\\FlashPlayer", "CurrentVersion", "12,00,11,25", REG_SZ) Abi ben yanlış söyledim galiba Setvalue kodunu biliyorum benim istediğim mesela oradaki FlashPlayer anahtarının adını değiştirmek istiyorum içindeki değerleri değil Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 25, 2013 Editor Share Posted March 25, 2013 Ams ile direk olarak onu yapabilecek bir kod yok ekstra çözüm bakıyorum araştırmadayım. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 25, 2013 Editor Share Posted March 25, 2013 REG COPY HKLM\SOFTWARE\OLD HKLM\SOFTWARE\NEW bu şekilde OLD isimli key i NEW isminde yeniden kopyaladık. REG DELETE HKLM\SOFTWARE\OLD /F bu komutlada eskisini sildik. bu şekilde ams ile cmdyi çalıştırıp yada bir bat dosyasına yazdırıp çalıştırdıgında istediğin değişikliği yapabilirsin.Pluginsiz olarak en son bu geldi aklıma Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted March 25, 2013 Author Share Posted March 25, 2013 İndigorose forumunda araştırırken güzel bir örnek buldum : oldRegKey = "HKLM\\MyPath\\OldKeyName" newRegKey = "HKLM\\MyPath\\NewKeyName" result = File.Run("Reg Copy "..oldRegKey.." "..newRegKey.." /s", "", "", SW_MINIMIZE, true); Registry.DeleteKey(HKEY_LOCAL_MACHINE, oldRegKey); Tabi bu şekilde olmaz çünkü oldregkey değişkeni HKLM verisinde aldığı için anahtar silinmez ancak oldRegKey = "HKLM\\MyPath\\OldKeyName" newRegKey = "HKLM\\MyPath\\NewKeyName" result = File.Run("Reg Copy "..oldRegKey.." "..newRegKey.." /s", "", "", SW_MINIMIZE, true); sil = String.Replace(oldRegKey,"HKLM\\","",false) Registry.DeleteKey(HKEY_LOCAL_MACHINE, sil); Yaparsanız yenisini kopyalar ardından eskisini siler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.