{"id":891,"date":"2011-04-05T01:58:46","date_gmt":"2011-04-04T17:58:46","guid":{"rendered":"http:\/\/www.jpuyy.com\/blog\/?p=891"},"modified":"2012-09-29T16:19:48","modified_gmt":"2012-09-29T08:19:48","slug":"windows-shutdown","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=891","title":{"rendered":"\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\uff1a\u6559\u4f60\u5982\u4f55\u5728Windows XP\u4f7f\u7528\u5b9a\u65f6\u5173\u673a\u547d\u4ee4"},"content":{"rendered":"<p>\u5927\u591a\u6570\u5b9e\u73b0\u81ea\u52a8\u5173\u673a\u7684\u65b9\u6cd5\u90fd\u662f\u4f7f\u7528\u4e00\u4e9b\u7b2c\u4e09\u65b9\u8f6f\u4ef6\uff0c\u8fd9\u6837\u4e0d\u4ec5\u9ebb\u70e6\uff0c\u800c\u4e14\u4e3a\u5b9e\u73b0\u8fd9\u4e2a\u5c0f\u529f\u80fd\u800c\u4e13\u95e8\u52a8\u7528\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u663e\u7684\u5c0f\u9898\u5927\u505a\u4e86\uff01\u5176\u5b9eWindows XP(Windows 2000\u4e5f\u53ef\u4ee5)\u81ea\u8eab\u5c31\u5177\u5907\u5b9a\u65f6\u5173\u673a\u7684\u529f\u80fd\uff0c\u4e0b\u9762\u6211\u4eec\u5c31\u6765\u770b\u770b\u5982\u4f55\u901a\u8fc7\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\uff0c\u5b9e\u73b0Windows XP\u7684\u81ea\u52a8\u5173\u673a\uff1a<\/p>\n<p>Windows XP\u7684\u5173\u673a\u662f\u7531Shutdown.exe\u7a0b\u5e8f\u6765\u63a7\u5236\u7684\uff0c\u4f4d\u4e8eWindows\uff3cSystem32\u6587\u4ef6\u5939\u4e2d \u3002\u5982\u679c\u60f3\u8ba9Windows 2000\u4e5f\u5b9e\u73b0\u540c\u6837\u7684\u6548\u679c\uff0c\u53ef\u4ee5\u628aShutdown.exe\u590d\u5236\u5230\u7cfb\u7edf\u76ee\u5f55\u4e0b<\/p>\n<p>\u6bd4\u5982\u4f60\u7684\u7535\u8111\u8981\u572822:00\u5173\u673a\uff0c\u53ef\u4ee5\u9009\u62e9\u201c\u5f00\u59cb\u2192\u8fd0\u884c\u201d\uff0c\u8f93\u5165\u201cat 22:00 Shutdown -s\u201d\uff0c\u8fd9\u6837\uff0c\u5230\u4e8622\u70b9\u7535\u8111\u5c31\u4f1a\u51fa\u73b0\u201c\u7cfb\u7edf\u5173\u673a\u201d\u5bf9\u8bdd\u6846\uff0c\u9ed8\u8ba4\u670930\u79d2\u949f\u7684\u5012\u8ba1\u65f6\u5e76\u63d0\u793a\u4f60\u4fdd\u5b58\u5de5\u4f5c\u3002\u5982\u679c\u4f60\u60f3\u4ee5\u5012\u8ba1\u65f6\u7684\u65b9\u5f0f\u5173\u673a\uff0c\u53ef\u4ee5\u8f93\u5165 \u201cShutdown.exe -s -t 3600\u201d\uff0c\u8fd9\u91cc\u8868\u793a60\u5206\u949f\u540e\u81ea\u52a8\u5173\u673a\uff0c\u201c3600\u201d\u4ee3\u886860\u5206\u949f\u3002\u8fd9\u6837\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\u5c31\u8bbe\u7f6e\u597d\u4e86\u3002<\/p>\n<p>Shutdown.exe\u7684\u53c2\u6570\uff0c\u6bcf\u4e2a\u90fd\u5177\u6709\u7279\u5b9a\u7684\u7528\u9014\uff0c\u6267\u884c\u6bcf\u4e00\u4e2a\u90fd\u4f1a\u4ea7\u751f\u4e0d\u540c\u7684\u6548\u679c\uff0c\u6bd4\u5982\u201c-s\u201d\u5c31\u8868\u793a\u5173\u95ed\u672c\u5730\u8ba1\u7b97\u673a\uff0c\u201c-a\u201d\u8868\u793a\u53d6\u6d88\u5173\u673a\u64cd\u4f5c\uff0c\u4e0b\u9762\u5217\u51fa\u4e86\u66f4\u591a\u53c2\u6570\uff0c\u5927\u5bb6\u53ef\u4ee5\u5728Shutdown.exe\u4e2d\u6309\u9700\u4f7f\u7528<\/p>\n<p>-f\uff1a\u5f3a\u884c\u5173\u95ed\u5e94\u7528\u7a0b\u5e8f<br \/>\n-m \uff3c\uff3c\u8ba1\u7b97\u673a\u540d\uff1a\u63a7\u5236\u8fdc\u7a0b\u8ba1\u7b97\u673a<br \/>\n-i\uff1a\u663e\u793a\u56fe\u5f62\u7528\u6237\u754c\u9762\uff0c\u4f46\u5fc5\u987b\u662fShutdown\u7684\u7b2c\u4e00\u4e2a\u9009\u9879<br \/>\n-l\uff1a\u6ce8\u9500\u5f53\u524d\u7528\u6237<br \/>\n-r\uff1a\u5173\u673a\u5e76\u91cd\u542f<br \/>\n-t\u65f6\u95f4\uff1a\u8bbe\u7f6e\u5173\u673a\u5012\u8ba1\u65f6<br \/>\n-c &#8220;\u6d88\u606f\u5185\u5bb9&#8221;\uff1a\u8f93\u5165\u5173\u673a\u5bf9\u8bdd\u6846\u4e2d\u7684\u6d88\u606f\u5185\u5bb9(\u4e0d\u80fd\u8d85127\u4e2a\u5b57\u7b26)<\/p>\n<p>1\u3001win2000\u7cfb\u7edf\u5185\u6ca1\u6709shutdown\u547d\u4ee4\u6587\u4ef6\uff0c\u5982\u679c\u57282000\u4e2d\u4f7f\u7528\uff0c\u5fc5\u987b copy winXP\u4e2d\u7684shutdown.exe\u6587\u4ef6\uff08\u5728xp\u7684c\u76d8\u6536\u7d22\u5c31\u80fd\u627e\u5230\uff09\uff0c\u5230win2k\u7684C:\\\\WINNT\u4e2d\uff0cwin2k\u624d\u80fd\u4f7f\u7528\u3002\\\\.s<br \/>\n2\u3001\u5b9e\u73b0\u6bcf\u65e5\u5b9a\u65f6\u5173\u673a\u4ece\u65b0\u542f\u52a8\uff0c\u8bbe\u7f6e\u597d\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\u540e\uff0c\u5728\u63a7\u5236\u9762\u677f\u4e2d\u7684\u4efb\u52a1\u8ba1\u5212\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u8ba1\u5212\uff0c\u5728\u8fd0\u884c\u4e2d\u8f93\u5165\u201cC:\\\\WINNT\\\\shutdown.exe \uff0dr\u201d\u5728\u8bbe\u7f6e\u5bc6\u7801\u5904\u8f93\u5165\u7ba1\u7406\u5458\u7684\u5bc6\u7801\uff0c\u5728\u65e5\u7a0b\u5904\u8f93\u5165\u6bcf\u5929\u8fd0\u884c\u7684\u65f6\u95f4\uff0c\u90a3\u6837\u5c31\u53ef\u4ee5\u8fbe\u5230\u6bcf\u5929\u5b9a\u65f6\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u591a\u6570\u5b9e\u73b0\u81ea\u52a8\u5173\u673a\u7684\u65b9\u6cd5\u90fd\u662f\u4f7f\u7528\u4e00\u4e9b\u7b2c\u4e09\u65b9\u8f6f\u4ef6\uff0c\u8fd9\u6837\u4e0d\u4ec5\u9ebb\u70e6\uff0c\u800c\u4e14\u4e3a\u5b9e\u73b0\u8fd9\u4e2a\u5c0f\u529f\u80fd\u800c\u4e13\u95e8\u52a8\u7528\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u663e\u7684\u5c0f\u9898\u5927\u505a\u4e86\uff01\u5176\u5b9eWindows XP(Windows 2000\u4e5f\u53ef\u4ee5)\u81ea\u8eab\u5c31\u5177\u5907\u5b9a\u65f6\u5173\u673a\u7684\u529f\u80fd\uff0c\u4e0b\u9762\u6211\u4eec\u5c31\u6765\u770b\u770b\u5982\u4f55\u901a\u8fc7\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\uff0c\u5b9e\u73b0Windows XP\u7684\u81ea\u52a8\u5173\u673a\uff1a Windows XP\u7684\u5173\u673a\u662f\u7531Shutdown.exe\u7a0b\u5e8f\u6765\u63a7\u5236\u7684\uff0c\u4f4d\u4e8eWindows\uff3cSystem32\u6587\u4ef6\u5939\u4e2d \u3002\u5982\u679c\u60f3\u8ba9Windows 2000\u4e5f\u5b9e\u73b0\u540c\u6837\u7684\u6548\u679c\uff0c\u53ef\u4ee5\u628aShutdown.exe\u590d\u5236\u5230\u7cfb\u7edf\u76ee\u5f55\u4e0b \u6bd4\u5982\u4f60\u7684\u7535\u8111\u8981\u572822:00\u5173\u673a\uff0c\u53ef\u4ee5\u9009\u62e9\u201c\u5f00\u59cb\u2192\u8fd0\u884c\u201d\uff0c\u8f93\u5165\u201cat 22:00 Shutdown -s\u201d\uff0c\u8fd9\u6837\uff0c\u5230\u4e8622\u70b9\u7535\u8111\u5c31\u4f1a\u51fa\u73b0\u201c\u7cfb\u7edf\u5173\u673a\u201d\u5bf9\u8bdd\u6846\uff0c\u9ed8\u8ba4\u670930\u79d2\u949f\u7684\u5012\u8ba1\u65f6\u5e76\u63d0\u793a\u4f60\u4fdd\u5b58\u5de5\u4f5c\u3002\u5982\u679c\u4f60\u60f3\u4ee5\u5012\u8ba1\u65f6\u7684\u65b9\u5f0f\u5173\u673a\uff0c\u53ef\u4ee5\u8f93\u5165 \u201cShutdown.exe -s -t 3600\u201d\uff0c\u8fd9\u91cc\u8868\u793a60\u5206\u949f\u540e\u81ea\u52a8\u5173\u673a\uff0c\u201c3600\u201d\u4ee3\u886860\u5206\u949f\u3002\u8fd9\u6837\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\u5c31\u8bbe\u7f6e\u597d\u4e86\u3002 Shutdown.exe\u7684\u53c2\u6570\uff0c\u6bcf\u4e2a\u90fd\u5177\u6709\u7279\u5b9a\u7684\u7528\u9014\uff0c\u6267\u884c\u6bcf\u4e00\u4e2a\u90fd\u4f1a\u4ea7\u751f\u4e0d\u540c\u7684\u6548\u679c\uff0c\u6bd4\u5982\u201c-s\u201d\u5c31\u8868\u793a\u5173\u95ed\u672c\u5730\u8ba1\u7b97\u673a\uff0c\u201c-a\u201d\u8868\u793a\u53d6\u6d88\u5173\u673a\u64cd\u4f5c\uff0c\u4e0b\u9762\u5217\u51fa\u4e86\u66f4\u591a\u53c2\u6570\uff0c\u5927\u5bb6\u53ef\u4ee5\u5728Shutdown.exe\u4e2d\u6309\u9700\u4f7f\u7528 -f\uff1a\u5f3a\u884c\u5173\u95ed\u5e94\u7528\u7a0b\u5e8f -m \uff3c\uff3c\u8ba1\u7b97\u673a\u540d\uff1a\u63a7\u5236\u8fdc\u7a0b\u8ba1\u7b97\u673a -i\uff1a\u663e\u793a\u56fe\u5f62\u7528\u6237\u754c\u9762\uff0c\u4f46\u5fc5\u987b\u662fShutdown\u7684\u7b2c\u4e00\u4e2a\u9009\u9879 -l\uff1a\u6ce8\u9500\u5f53\u524d\u7528\u6237 -r\uff1a\u5173\u673a\u5e76\u91cd\u542f -t\u65f6\u95f4\uff1a\u8bbe\u7f6e\u5173\u673a\u5012\u8ba1\u65f6 -c &#8220;\u6d88\u606f\u5185\u5bb9&#8221;\uff1a\u8f93\u5165\u5173\u673a\u5bf9\u8bdd\u6846\u4e2d\u7684\u6d88\u606f\u5185\u5bb9(\u4e0d\u80fd\u8d85127\u4e2a\u5b57\u7b26) 1\u3001win2000\u7cfb\u7edf\u5185\u6ca1\u6709shutdown\u547d\u4ee4\u6587\u4ef6\uff0c\u5982\u679c\u57282000\u4e2d\u4f7f\u7528\uff0c\u5fc5\u987b copy winXP\u4e2d\u7684shutdown.exe\u6587\u4ef6\uff08\u5728xp\u7684c\u76d8\u6536\u7d22\u5c31\u80fd\u627e\u5230\uff09\uff0c\u5230win2k\u7684C:\\\\WINNT\u4e2d\uff0cwin2k\u624d\u80fd\u4f7f\u7528\u3002\\\\.s 2\u3001\u5b9e\u73b0\u6bcf\u65e5\u5b9a\u65f6\u5173\u673a\u4ece\u65b0\u542f\u52a8\uff0c\u8bbe\u7f6e\u597d\u5b9a\u65f6\u5173\u673a\u547d\u4ee4\u540e\uff0c\u5728\u63a7\u5236\u9762\u677f\u4e2d\u7684\u4efb\u52a1\u8ba1\u5212\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u8ba1\u5212\uff0c\u5728\u8fd0\u884c\u4e2d\u8f93\u5165\u201cC:\\\\WINNT\\\\shutdown.exe \uff0dr\u201d\u5728\u8bbe\u7f6e\u5bc6\u7801\u5904\u8f93\u5165\u7ba1\u7406\u5458\u7684\u5bc6\u7801\uff0c\u5728\u65e5\u7a0b\u5904\u8f93\u5165\u6bcf\u5929\u8fd0\u884c\u7684\u65f6\u95f4\uff0c\u90a3\u6837\u5c31\u53ef\u4ee5\u8fbe\u5230\u6bcf\u5929\u5b9a\u65f6\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u4e86<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[23],"class_list":["post-891","post","type-post","status-publish","format-standard","hentry","category-windows","tag-summary"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=891"}],"version-history":[{"count":6,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions"}],"predecessor-version":[{"id":3872,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions\/3872"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}