{"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":"2021-02-27T09:55:37","modified_gmt":"2021-02-27T09:55:37","slug":"batch-program-to-shutdown-and-restart-the-computer","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/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=\"https:\/\/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.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/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 [&hellip;]<\/p>\n","protected":false},"author":4,"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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Batch Program to Shutdown and restart the computer. - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Batch Program to Shutdown and restart the computer. - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Batch Program to Shutdown and restart the computer.\u00a0 Restart echo off D:TemptmpSHUTDOWN.EXE \/L \/R \/Y \/C pause\u00a0\u00a0 Shutdown echo offd:tmpSHUTDOWN.EXE [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2009-02-05T12:39:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:55:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Batch Program to Shutdown and restart the computer.\",\"datePublished\":\"2009-02-05T12:39:34+00:00\",\"dateModified\":\"2021-02-27T09:55:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/\"},\"wordCount\":40,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/02\\\/batch-program-to-shutdown-a.png\",\"keywords\":[\"batch\",\"Batch Command\",\"Batch Program\",\"Batch Program Guide\",\"Batch Program Tutorial\",\"computer\",\"How To\",\"Restart\",\"Restart Batch Program\",\"Shutdown\",\"Shutdown Batch Program\",\"System Restart Batch Command\",\"System Shutdown Batch Command\"],\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/\",\"name\":\"Batch Program to Shutdown and restart the computer. - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/02\\\/batch-program-to-shutdown-a.png\",\"datePublished\":\"2009-02-05T12:39:34+00:00\",\"dateModified\":\"2021-02-27T09:55:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/02\\\/batch-program-to-shutdown-a.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/02\\\/batch-program-to-shutdown-a.png\",\"width\":600,\"height\":400,\"caption\":\"batch-program-to-shutdown-restart-computer\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/batch-program-to-shutdown-and-restart-the-computer\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch Program to Shutdown and restart the computer.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Batch Program to Shutdown and restart the computer. - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/","og_locale":"en_US","og_type":"article","og_title":"Batch Program to Shutdown and restart the computer. - scmGalaxy","og_description":"Batch Program to Shutdown and restart the computer.\u00a0 Restart echo off D:TemptmpSHUTDOWN.EXE \/L \/R \/Y \/C pause\u00a0\u00a0 Shutdown echo offd:tmpSHUTDOWN.EXE [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/","og_site_name":"scmGalaxy","article_published_time":"2009-02-05T12:39:34+00:00","article_modified_time":"2021-02-27T09:55:37+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Batch Program to Shutdown and restart the computer.","datePublished":"2009-02-05T12:39:34+00:00","dateModified":"2021-02-27T09:55:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/"},"wordCount":40,"commentCount":1,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png","keywords":["batch","Batch Command","Batch Program","Batch Program Guide","Batch Program Tutorial","computer","How To","Restart","Restart Batch Program","Shutdown","Shutdown Batch Program","System Restart Batch Command","System Shutdown Batch Command"],"articleSection":["General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/","name":"Batch Program to Shutdown and restart the computer. - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png","datePublished":"2009-02-05T12:39:34+00:00","dateModified":"2021-02-27T09:55:37+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/02\/batch-program-to-shutdown-a.png","width":600,"height":400,"caption":"batch-program-to-shutdown-restart-computer"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/batch-program-to-shutdown-and-restart-the-computer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Batch Program to Shutdown and restart the computer."}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":4029,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/121\/revisions\/4029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/4028"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}