ก่อนอื่นมาทำดูคำสั่งเกี่ยวปิดเครื่องและรีสตาร์ทเครื่องกันก่อน ไม่ยาก
|
Menu option |
Command |
| Shut down | shutdown.exe /s /t 00 |
| Restart | shutdown.exe /r /t 00 |
| Log off | shutdown.exe /l |
| Sleep or Hibernate | rundll32.exe powrprof.dll,SetSuspendState |
| Lock | rundll32.exe user32.dll,LockWorkStation |
| Switch user | tsdiscon.exe |
เริ่มกันเลย
- สร้าง shortcut ขึ้นมา คลิ๊กขวาหน้าจอ เลือก new>shortcut
- พิมพ์คำสั่ง shutdown.exe /s /t 00 แล้ว Next

- ตั้งชื่อ Shortcut เป็น Shutdown แล้วกด Finish

- ก็จะได้ Shortcut ขึ้นมาชื่อว่า Shutdown จากนั้นทำการคลิ๊กขวาไปที่ properties เพื่อเปลี่ยน icon กดเลือก Change Icon

- เลือก icon ที่ต้องการ ผมเลือกเป็นปุ่มปิดสีแดง แล้วกด OK

- เราก็จะได้ ปุ่ม Shutdown ที่ต้องการ

- จากนั้นคลิ๊กขวาที่ shortcut Shutdown นั้น เลือก Pin to Start แค่นี้ก็ได้แล้ว จากนั้นไปดูที่หน้า Start Screen เป็นอันเสร็จสิ้น

- จากนั้นกทำปุ่ม restart ก็ทำขึ้นตอนเดียวกัน แต่เปลี่ยน คำสั่งเป็น shutdown.exe /r /t 00 เท่านั้นเอง

ข้อมูลอ้างอิง
|
|
Dec 17, 2012 – In Windows 8, these options are spread out between the Power Charm and … Once you create the Shutdown shortcut, you’ll create the Restart … |




Recent Comments