Andi Purwanto Group. Powered by Blogger.
RSS

[TRICK] Membuat Timer Sederhana

Bagi yang suka mendengarkan music sambil ketiduran seperti saya, dan seringkali komputernya lupa dimatikan (Karna ketiduran) sampai pagi. Sekarang ada solusinya, daripada menggunakan Software lagi mendingan pakai saja Perintah Command Prompt Internal buat mematikan Komputer .
Pertama buka Start Menu => Run
Kedua ketikkan cmd.exe
Ketiga ketikkan shutdown.exe /?
Maka secara otomatis akan muncul tulisan seperti ini :

Usage: shutdown.exe [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c “comment” Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256
yy is the minor reason code (positive integer less than 65536)
Sebenarnya bentuk umum yang dipakai sih seperti ini :
shutdown.exe -r atau -s atau -l -t waktunya (dalam detik) -c “Komentar” -f Untuk memaksa menutup aplikasi yang berjalan.
Contoh :
Mau restart dalam 10 detik
shutdown.exe -r -t 10 -c “Komputer akan restart dalam 10 detik bro…” -f
Atau Mau shutdown dalam 1 Jam lagi
shutdown.exe -r -t 3600 -c “Komputer akan shutdown dalam 1 Jam sist…” -f
Bisa juga Akan logoff dalam 1/2 Jam kedepan
shutdown.exe -l -t 1800 -c “1/2 Jam lagi logoff…” -f
Nah perintah tersebut bisa juga di ketik di Start Menu => Run
Bisa juga lewat Command Prompt (cmd.exe)

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 komentar:

Post a Comment