Skip to content

npmoewii/window-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages