kral1122 Posted January 24, 2012 Share Posted January 24, 2012 (edited) Selamunaleyküm iyi akşamlar arkadaşlar benim bir sorum var windows 7 de ve vistada başlat/cmd/slmgr -xpr yazdığımız zaman ürünün kalıcı olarak etkinleştirildi falan yazı çıkıyor benim istediğim butona bu komutu vermek bi türlü yapamadım aradım ama bulamadım yardımcı olursanız arkadaşlar Edited January 24, 2012 by kral1122 Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted January 24, 2012 Share Posted January 24, 2012 [center][b]Direk AMS'den Verebilirmisin Bilmiyorum Ama Ben Docs Klasorune Bi Tane .cmd Oluşturuyorum. Onun İçine Komutu Yazıyorum. File.Run İle de Çalıştırıyorum.[/b][/center] Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted January 24, 2012 Share Posted January 24, 2012 (edited) Firefox Save çalışmamda Firefox'u taskkill /f /im firefox.exe komutu ile kapatıyordu. İnceleyebilirsiniz... [quote][code]http://www.tnctr.com/topic/191060-[/code][/quote] Edited January 24, 2012 by pcusta_99 Quote Link to comment Share on other sites More sharing options...
pilgetir Posted January 24, 2012 Share Posted January 24, 2012 pcustanın projesindeki kod [quote]Shell.Execute("C:\\Windows\\System32\\taskkill.exe", "open", "/f /im ", "", SW_HIDE, true);[/quote] Quote Link to comment Share on other sites More sharing options...
NotToday Posted January 24, 2012 Share Posted January 24, 2012 Ya parametreyle exeyi açarsın yada babanın dediği gibi cmd dosyası oluşturup açarsın.Hangisi sana uygunsa onu kullan Quote Link to comment Share on other sites More sharing options...
kral1122 Posted January 24, 2012 Author Share Posted January 24, 2012 hepinize çok teşekkür ederim ama bir türlü beceremedim butona tıkladığım zaman direk makine kalıcı olarak etkinleştirildi yazısı çıksın istiyorum ama bir türlü yapamadım Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted January 24, 2012 Share Posted January 24, 2012 Biraz uğraştım ama en sonunda buldum, Process Explorer sağolsun Bu kodu kullanacaksınız: [code]Shell.Execute("C:\\Windows\\System32\\wscript.exe", "open", "C:\\Windows\\system32\\slmgr.vbs -xpr", "", SW_SHOWNORMAL, true);[/code] Quote Link to comment Share on other sites More sharing options...
kral1122 Posted January 24, 2012 Author Share Posted January 24, 2012 pcusta_99 çok sağol akşam akşam nasıl sevindim olduğuna tekrar sağol Allah razı olsun Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted January 24, 2012 Share Posted January 24, 2012 [quote name='kral1122' date='24 January 2012 - 20:20 ' timestamp='1327429241' post='1145281'] pcusta_99 çok sağol akşam akşam nasıl sevindim olduğuna tekrar sağol Allah razı olsun [/quote] Yalnız birşeyi söylemeyi unutmuşum, 64 bit sistemlerde çalışmayabilir kod, parametre kullansan daha iyi olur. Birde parametreyi bulmak için Process Explorer kullandım, aklında bulunsun: [img]http://i.imgur.com/Of8D1.png[/img] Quote Link to comment Share on other sites More sharing options...
kral1122 Posted January 24, 2012 Author Share Posted January 24, 2012 [quote name='pcusta_99' date='24 January 2012 - 20:24 ' timestamp='1327429490' post='1145286'] Yalnız birşeyi söylemeyi unutmuşum, 64 bit sistemlerde çalışmayabilir kod, parametre kullansan daha iyi olur. Birde parametreyi bulmak için Process Explorer kullandım, aklında bulunsun: [img]http://i.imgur.com/Of8D1.png[/img] [/quote] programı ilk defa kullandım ama kolay tekrar sağol hem yeni program öğrendim hemde sorunum çözüldü 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.