korasoglu Posted November 30, 2011 Share Posted November 30, 2011 Arkadaşlar xxx.reg bunu yönetici olarak nasıl çalıştırabiliriz.... Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted November 30, 2011 Share Posted November 30, 2011 Çalıştırmaktan ziyade reg yazmak daha mantıklı. Basit bir örnek verecek olursak; [codebox]#RequireAdmin RegWrite("HKEY_CURRENT_USER\Software\Test", "TestKey", "REG_SZ", "TNCTR") [/codebox] Kendine göre düzenlersin iyi akşamlar.. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted November 30, 2011 Author Share Posted November 30, 2011 arkadaşlar kullanıcı kafasına göre bir reg oluşturacak ve reg çalışacak o yüzden sabit bir şey değil. Texten veya iniden alıpda ekliyebilir farkatmez. mesela reg,text vs içeriği Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\deneme] "MUIVerb"="deneme" "SubCommands"="1;2;3;4;5;6;7;8;9;99" "Icon"="C:\\Users\\hp\\Desktop\\CCleaner 3.11.1550 [x86 - x64].exe" bunu yönetici olarak nasıl çalıştırabiliriz. InstallTips kullanarak regin parametresini veriyorum ekleniyor ama yöneti olarak çalıştır demedinmi olmuyor... Quote Link to comment Share on other sites More sharing options...
NotToday Posted November 30, 2011 Share Posted November 30, 2011 Aşağıdaki şekilde tek tek çevirilmeli.Ama http://www.tnctr.com/topic/183148-registry-dosyasyny-autoit3-formatyna-cevirmek/ bakarsanız işiniz kolaylaşır [quote]RegWrite("HKEY_CLASSES_ROOT\Directory\Background\shell\deneme", "MUIVerb", "REG_SZ", "deneme") RegWrite("HKEY_CLASSES_ROOT\Directory\Background\shell\deneme", "SubCommands", "REG_SZ", "1;2;3;4;5;6;7;8;9;99") RegWrite("HKEY_CLASSES_ROOT\Directory\Background\shell\deneme", "Icon", "REG_SZ", "C:\\Users\\hp\\Desktop\\CCleaner 3.11.1550 [x86 - x64].exe")[/quote] Quote Link to comment Share on other sites More sharing options...
blue_life Posted December 1, 2011 Share Posted December 1, 2011 (edited) @korasoglu [b]Regedit.exe[/b] ye parametre vererek yapabilirsin. [codebox]#RequireAdmin Local $RegFile = @ScriptDir & "\Reg_dosyasi.reg" RunWait('Regedit.exe /S "' & $RegFile & '"')[/codebox] Veya [b]ShellExecute [/b]kullanabilirsin. [codebox]#RequireAdmin Local $RegFile = @ScriptDir & "\Reg_dosyasi.reg" ShellExecuteWait($RegFile,"S")[/codebox] Edited December 1, 2011 by blue_life Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 1, 2011 Share Posted December 1, 2011 Bu arkadaşın sorunu veri farklı olunca değiştirmiyor.Yani anahtar yoksa sorunsuz işliyor. HKEY_CLASSES_ROOT\Directory\Background\shell\deneme", "MUIVerb", "REG_SZ" anahtarın verisi deneme giriyor kayıt.Ama bu şekilde veriyi değiştirmiyor.Normal açılınca problem yok 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.