Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

16 lines (16 loc) · 1.1 KB

Programming to Shutdown your windows

Use C language for programming. How to compile C language program without text editor

Introduction

  • คำสั่งในการ shutdown ปกติ สั่งผ่าน command line คือ
shutdown -s -t 18000

ความหมายคือ ในอีก 18000 วินาทีข้างหน้าจะทำการ shutdown นั่นคือ 60 * 60 * 5 => 5 ชั่วโมง

  • คำสั่งในการยกเลิกคำสั่ง shutdown คือ
shutdown -a
  • ใน Windows 10 สามารถทำได้โดยไม่จำเป็นต้องเป็น command line โดยการกดปุ่ม Start แล้วพิมพ์คำสั่งที่เขียนไว้ด้านบนแล้ว enter ได้ทันที
  • หน้าตาโปรแกรม interface program
  • อ่านคำอธิบายโค้ดโปรแกรมได้ที่ https://krunut.com/webs/?p=99