การให้เครื่อง Restart, Shutdown, LogOff ด้วย แบทไฟล์
1. เปิด Notepad ขึ้นมาพิมพ์(หรือก็อปไปใช้)
:ทำการชัตดาวน์เครื่อง
@shutdown.exe -s -t 0
2. บันทึกเป็น ชัตดาวน์.BAT
3. ลองดับเบิลคลิ๊กดู
1. เปิด Notepad ขึ้นมาพิมพ์(หรือก็อปไปใช้)
:ทำการรีสตาร์ท
@shutdown.exe -r -t 0
2. บันทึกเป็น รีสตาร์ท.BAT
3. ลองดับเบิลคลิ๊กดู
1. เปิด Notepad ขึ้นมาพิมพ์(หรือก็อปไปใช้)
:ทำการ LogOff
@shutdown.exe -I -t 0
2. บันทึกเป็น ล็อกออฟ.BAT
3. เรียกใช้
2 comments:
I enjoy what you guys
are usually up too. Such clever work and reporting!
Keep up the excellent works guys I've incorporated you guys to our blogroll.
Also visit my web-site - culinary art schools in california
I am actually pleased to read this web site
posts which includes lots of useful data, thanks for providing such data.
My blog post; garage rubber flooring
Post a Comment