{"id":121,"date":"2009-02-05T12:39:34","date_gmt":"2009-02-05T12:39:34","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2009\/02\/05\/batch-program-to-shutdown-and-restart-the-computer\/"},"modified":"2017-12-26T02:19:34","modified_gmt":"2017-12-26T02:19:34","slug":"batch-program-to-shutdown-and-restart-the-computer","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/batch-program-to-shutdown-and-restart-the-computer\/","title":{"rendered":"Batch Program to Shutdown and restart the computer."},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4028 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png\" alt=\"batch-program-to-shutdown-restart-computer\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">Batch Program to Shutdown and restart the computer.<\/span><\/span><\/span><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000; font-family: 'Times New Roman';\">\u00a0<\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\"><strong>Restart<\/strong><\/span><\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">echo off<\/span><\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">D:\\Temp\\tmp\\SHUTDOWN.EXE \/L \/R \/Y \/C<\/span><\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">pause<\/span><\/span><\/span><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000; font-family: 'Times New Roman';\">\u00a0<\/span><\/span><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000; font-family: 'Times New Roman';\">\u00a0<\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\"><strong>Shutdown<\/strong><\/span><\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">echo off<\/span><\/span><\/span><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000;\"><span style=\"font-family: 'Times New Roman';\">d:\\tmp\\SHUTDOWN.EXE \/L \/Y \/C<\/span><\/span><\/span><\/p>\n<p><span style=\"font-size: 11pt; font-family: Calibri;\"><span style=\"color: #000000; font-family: 'Times New Roman';\">pause<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Batch Program to Shutdown and restart the computer.\u00a0 Restart echo off D:\\Temp\\tmp\\SHUTDOWN.EXE \/L \/R \/Y \/C pause\u00a0\u00a0 Shutdown echo offd:\\tmp\\SHUTDOWN.EXE \/L \/Y \/C pause<\/p>\n","protected":false},"author":1,"featured_media":4028,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[276,1966,3105,3111,3112,2301,3113,729,3109,3106,3110,3108,3107],"class_list":["post-121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","tag-batch","tag-batch-command","tag-batch-program","tag-batch-program-guide","tag-batch-program-tutorial","tag-computer","tag-how-to","tag-restart","tag-restart-batch-program","tag-shutdown","tag-shutdown-batch-program","tag-system-restart-batch-command","tag-system-shutdown-batch-command"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":4029,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/121\/revisions\/4029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/4028"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}