Jump to content

Butona Cmd Komutu Vermek


kral1122
 Share

Recommended Posts

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 by kral1122
Link to comment
Share on other sites

Biraz uğraştım ama en sonunda buldum, Process Explorer sağolsun :D

Bu kodu kullanacaksınız:

[code]Shell.Execute("C:\\Windows\\System32\\wscript.exe", "open", "C:\\Windows\\system32\\slmgr.vbs -xpr", "", SW_SHOWNORMAL, true);[/code]

Link to comment
Share on other sites

[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]

Link to comment
Share on other sites

[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ü

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...