5/2/13

Tạo shortcut Shutdown, Restart, Log off trong Windows 8

Bước 1 : Click chuột phải vào Desktop, chọn New –> Shorcut



Bước 2 : Trong hộp thoại xuất hiện, gõ lệnh shutdown.exe –s –t 0 vào ô Type the location of the item , rồi nhấn Next


Bước 3 : Đặt tên cho shortcut trong ô Type a name for this shortcut , rồi nhấn Finish



Bước 4 : Chọn Icon cho shortcut : Click chuột phải vào shortcut vừa tạo, chọn Properties –> chọn tab Shortcut –> nhấn Change Icon … và chọn icon phù hợp.



Hoàn toàn tương tự, có thể tạo các shortcut Restart, Hibernate, Sleep trên Desktop bằng cách thay các lệnh sau :
  • Restart : gõ shutdown.exe –r –t 0
  • Lock : gõ Rundll32.exe User32.dll,LockWorkStation
  • Hibernate : gõ rundll32.exe PowrProf.dll,SetSuspendState
  • Sleep : gõ rundll32.exe powrprof.dll,SetSuspendState 0,1,0

No comments:

Post a Comment

Có Nhận xét tại: