Jump to content
Son zamanlarda artan kullanıcı hesap hırsızlıkları sebebiyle tüm kullanıcılara şifre sıfırlama maili gönderilmiştir. Lütfen güveli şifreler seçiniz. Mevcut e-mail adresinize erişemiyorsanız, en aşağıdaki destek linkinden bize ulaşınız. ×

Shutdown Komutunu şöyle Yazabilirmiyim?


facenoise
 Share

Recommended Posts

kodların üst tarafından yaphadi değişkenin içeriği gelecek,  yani yaphadi değişkeninde explorer.exe, shutdown vb.. kodlar olacak ona göre program çalışacak. Ama daha ilk baştan shutdown kodunu bir değişkene atıp çalıştıramadım acaba bu iş nasıl çözebilirim?

$yaphadi="Shutdown(6)"
Run($yaphadi)

diye düşündüm ama çalışmadı..

Link to comment
Share on other sites

  • 2 hafta sonra ...

    $SD_LOGOFF (0) = Logoff
    $SD_SHUTDOWN (1) = Shutdown
    $SD_REBOOT (2) = Reboot
    $SD_FORCE (4) = Force
    $SD_POWERDOWN (8) = Power down
    $SD_FORCEHUNG (16) = Force if hung
    $SD_STANDBY (32) = Standby
    $SD_HIBERNATE (64) = Hibernate

    Shutdown(6) sadece bu şekilde olacak.

ama istersen bu şekilde de yapabilirsin run("shutdown -r -t 10")

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...