{"id":711,"date":"2014-10-10T14:52:32","date_gmt":"2014-10-10T06:52:32","guid":{"rendered":"http:\/\/163.26.205.2\/~teablog\/tea1001\/?p=711"},"modified":"2014-10-10T14:52:32","modified_gmt":"2014-10-10T06:52:32","slug":"xp%e9%97%9c%e6%a9%9f%e6%8c%87%e4%bb%a4","status":"publish","type":"post","link":"http:\/\/163.26.205.2\/~teablog\/tea1001\/?p=711","title":{"rendered":"XP\u95dc\u6a5f\u6307\u4ee4"},"content":{"rendered":"<div class=\"contents\">\u7cfb\u7d71\u5167\u5efa shutdown.exe \u9019\u500b\u7a0b\u5f0f<br \/>\n\u7acb\u5373\u95dc\u6a5f\uff1a<br \/>\nshutdown -s -t 0<br \/>\n\u767b\u51fa\uff1a<br \/>\nshutdown -l<br \/>\n\u7acb\u5373\u91cd\u65b0\u555f\u52d5 \uff1a<br \/>\nshutdown -r -t 0<br \/>\nwindows XP \u5feb\u901f\u95dc\u6a5f\u6307\u4ee4<br \/>\nshutdown -s -f -t 0<br \/>\n* \u96fb\u8166\u5c07\u572830\u79d2\u5f8c\u96fb\u8166.\u4e26\u8df3\u51fa\u8b66\u544a\u8996\u7a97<br \/>\nSHUTDOWN -S -T 30 -C &#8220;\u4f60\u7684\u96fb\u8166\u5c07\u572830\u79d2\u5f8c\u96fb\u8166&#8221;<br \/>\n* \u53d6\u6d88\u95dc\u6a5f<br \/>\nSHUTDOWN -A<br \/>\n* \u6bcf\u500b\u79ae\u62dc\u4e00\u7684\u4e0a\u5348\u4e5d\u9ede\u9019\u500b\u95dc\u6a5f\u7a0b\u5f0f\u5c31\u6703\u81ea\u52d5\u57f7\u884c<br \/>\nat 9:00 \/EVERY:MONDAY &#8220;SHUTDOWN -S -T 30 -C &#8220;\u96fb\u8166\u5c07\u572830\u79d2\u5f8c\u96fb\u8166&#8221; &#8221;<br \/>\n* \u6bcf\u500b\u6708\u7684\u7b2c 1 \u8207 15 \u5929\u4e0a\u5348\u4e5d\u9ede\u57f7\u884c\u91cd\u65b0\u958b\u6a5f<br \/>\nat 9:00 \/every:1,15 &#8220;SHUTDOWN -r -T 30 -C &#8220;\u96fb\u8166\u5c07\u572830\u79d2\u5f8c\u91cd\u65b0\u958b\u6a5f&#8221; &#8221;<br \/>\n* \u5728\u6bcf\u9031\uff08\u4e00\u4e8c\u4e09\uff09\u7684\u516b\u9ede\u4e09\u5341\u5206.\u57f7\u884cauto.bat<br \/>\nat 08:30 \/every:M,T,W &#8220;c:auto.bat&#8221;Windows XP \u81ea\u8eab\u5c31\u5177\u5099\u5b9a\u6642\u95dc\u6a5f\u7684\u529f\u80fd\u3002<br \/>\nWindows XP\u7684\u95dc\u6a5f\u662f\u7531Shutdown.exe\u7a0b\u5e8f\u4f86\u63a7\u5236\u7684\uff0c\u4f4d\u65bcWindows\uff3cSystem32\u6587\u4ef6\u593e\u4e2d\u3002<br \/>\nWindows 2000\u5b89\u88dd\u6642\u4e26\u6c92\u6709\u9644\u52a0\u9019\u500b\u6a94\u6848,\u5f9eWindowsXP\u7684\u96fb\u8166\u628aShutdown.exe\u8907\u88fd\u5230windows2000\u7cfb\u7d71\u76ee\u9304\u4e0b\u4e5f\u5c31\u662f<br \/>\n%System Driver% %System Directory%<br \/>\n\u4e00\u822c\u4f86\u8aaa \u662f\u4f4d\u65bc C:WinntSystem32 \u5e95\u4e0b<br \/>\n\u9019\u6a23windows2000\u5c31\u4e5f\u53ef\u4ee5\u57f7\u884c shutdown.exe\u4e86\u4f7f\u7528\u65b9\u5f0f: shutdown [-i | -l | -s | -r | -a] [-f] [-m computername] [-t xx] [-c &#8220;comment&#8221;] [-d up:xx:yy]<br \/>\n\u6c92\u6709\u5f15\u6578\u986f\u793a\u9019\u500b\u8a0a\u606f (\u548c -? \u76f8\u540c)<br \/>\n-i\u986f\u793a GUI \u4ecb\u9762\uff0c\u5fc5\u9808\u662f\u7b2c\u4e00\u500b\u9078\u9805<br \/>\n-l\u767b\u51fa (\u4e0d\u80fd\u548c -m \u9078\u9805\u4e00\u8d77\u4f7f\u7528) -s\u96fb\u8166\u95dc\u6a5f<br \/>\n-r\u95dc\u6a5f\u4e26\u91cd\u65b0\u555f\u52d5\u96fb\u8166<br \/>\n-a\u4e2d\u6b62\u7cfb\u7d71\u95dc\u6a5f?<br \/>\n-m computername\u5f9e\u9060\u7aef\u9032\u884c\u95dc\u6a5f\/\u91cd\u65b0\u555f\u52d5\/\u4e2d\u6b62<br \/>\n-t xx\u5c07\u95dc\u6a5f\u7b49\u5019\u6642\u9593\u8a2d\u5b9a\u6210 xx \u79d2<br \/>\n-c &#8220;comment&#8221;\u95dc\u6a5f\u8a3b\u89e3 (\u6700\u591a 127 \u500b\u5b57\u5143)<br \/>\n-f\u5f37\u5236\u95dc\u9589\u57f7\u884c\u4e2d\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u4e0d\u986f\u793a\u8b66\u544a<br \/>\n-d [u][p]:xx:yy\u95dc\u6a5f\u539f\u56e0\u4ee3\u78bc<br \/>\nu \u662f\u4f7f\u7528\u8005\u4ee3\u78bc<br \/>\np \u662f\u9810\u5148\u8a08\u5283\u7684\u95dc\u6a5f\u4ee3\u78bc<br \/>\nxx \u662f\u4e3b\u8981\u539f\u56e0\u4ee3\u78bc (\u5c0f\u65bc 256 \u7684\u6b63\u6574\u6578)<br \/>\nyy \u662f\u6b21\u8981\u539f\u56e0\u4ee3\u78bc (\u5c0f\u65bc 65536 \u7684\u6b63\u6574\u6578)Microsoft Windows \u547d\u4ee4\u4ecb\u7d39 : at.exe \u8207\u5de5\u4f5c\u6392\u7a0bat.exe \u7684\u7528\u9014\u662f\u63a7\u5236\u5de5\u4f5c\u6392\u7a0b\uff0c\u76f8\u5c0d\u61c9\u7684\u5716\u5f62\u5316\u4ecb\u9762\u662f\u63a7\u5236\u53f0\u88e1\u9762\u7684\u300c\u6392\u5b9a\u7684\u5de5\u4f5c\u300d\uff0c\u6307\u4ee4\u70ba<br \/>\n&gt; control schedtasks<br \/>\n\u4f7f\u7528 at.exe \u65b0\u589e\u52a0\u7684\u5de5\u4f5c\u90fd\u6703\u5728\u300c\u6392\u5b9a\u7684\u5de5\u4f5c\u300d\u88e1\u9762\u986f\u793a\u51fa\u4f86\u3002<br \/>\n\u8981\u8b93 at.exe \u6392\u51fa\u4f86\u7684\u5de5\u4f5c\u6b63\u5e38\u555f\u52d5\u904b\u4f5c\u7684\u8a71\uff0c\u5fc5\u8981\u689d\u4ef6\u662f Task Scheduler \u9019\u500b\u670d\u52d9\u6709\u88ab\u555f\u52d5\u3002<br \/>\n\u4f7f\u7528\u65b9\u5f0f<br \/>\n\u8a9e\u6cd5\u5982\u4e0b\uff1a<br \/>\nat [computername] [ [id] [\/delete] | \/delete [\/yes]]<br \/>\nat [computername] time [\/interactive] [ \/every:date[,\u2026] | \/next:date[,\u2026]] &#8220;command&#8221;<br \/>\n\u8981\u6ce8\u610f\u7684\u662f\u53c3\u6578\u7684\u9806\u5e8f\u4e0d\u80fd\u5c0d\u8abf\uff0c\u4f8b\u5982 id \u4e00\u5b9a\u8981\u5728 \/delete \u4e4b\u524d\u3002\u8a73\u7d30\u53c3\u6578\u8aaa\u660e\u5982\u4e0b\uff1a<br \/>\ncomputername<br \/>\n\u5728\u6307\u5b9a\u7684\u9060\u7aef\u96fb\u8166\u4e0a\u6392\u5b9a\u5de5\u4f5c\u3002<br \/>\nid<br \/>\n\u5de5\u4f5c\u7684\u8b58\u5225\u78bc\u3002\u6bcf\u4e00\u500b\u6392\u5b9a\u7684\u5de5\u4f5c\u90fd\u6703\u6709\u4e00\u500b\u552f\u4e00\u7684\u6578\u5b57\uff0c\u4e5f\u5c31\u662f\u9019\u500b\u5de5\u4f5c\u7684 id \uff0c\u7528\u4f86\u4ee3\u8868\u6574\u500b\u5de5\u4f5c\u3002<br \/>\n\/delete<br \/>\n\u522a\u9664\u5de5\u4f5c\u3002<br \/>\n\/yes<br \/>\n\u5728\u522a\u9664\u5168\u90e8\u5de5\u4f5c\u6642\uff0c\u81ea\u52d5\u56de\u7b54 yes \u3002<br \/>\ntime<br \/>\n\u6307\u5b9a\u5de5\u4f5c\u57f7\u884c\u7684\u6642\u9593\uff0c\u6642\u9593\u7684\u683c\u5f0f\u70ba\uff1a<br \/>\nhh:mm<br \/>\n\u5176\u4e2d hh \u8868\u793a\u5c0f\u6642\uff0c mm \u8868\u793a\u5206\u9418\uff0c\u4f7f\u7528\u7684\u662f 24 \u5c0f\u6642\u7684\u683c\u5f0f\u3002\u4f8b\u5982\u4e0b\u9762\u9019\u500b\u4ee3\u8868\u665a\u4e0a\u4e03\u9ede\u4e09\u5341\u5206\uff1a<br \/>\n19:30<br \/>\n\/interactive<br \/>\n\u8b93\u5de5\u4f5c\u5728\u57f7\u884c\u6642\u8207\u7576\u6642\u767b\u5165\u7684\u4f7f\u7528\u8005\u4e92\u52d5\uff0c\u5982\u679c\u6c92\u6709\u4f7f\u7528\u9019\u500b\u53c3\u6578\u7684\u8a71\uff0c\u5de5\u4f5c\u6703\u5728\u80cc\u666f\u57f7\u884c\u3002<br \/>\n\/every:date[,\u2026]<br \/>\n\u5728\u6bcf\u6708\u7684\u6307\u5b9a\u65e5\u671f\u57f7\u884c\u5de5\u4f5c\u3002<br \/>\n\/next:date[,\u2026]<br \/>\n\u5728\u4e0b\u6b21\u7684\u6307\u5b9a\u65e5\u671f\u57f7\u884c\u6307\u4ee4\u3002<br \/>\ndate[,\u2026]<br \/>\ndate \u7684\u683c\u5f0f\u70ba dd \u6216 ww \uff0c\u8981\u6307\u5b9a\u591a\u500b\u65e5\u671f\u6642\u53ef\u4ee5 , \u9694\u958b\u3002\u5176\u4e2d dd \u662f\u4e00\u500b\u6578\u5b57\uff0c\u4ee3\u8868\u4e00\u500b\u6708\u7684\u7b2c\u5e7e\u5929\u3002\u4f8b\u5982<br \/>\n\/every:15,30<br \/>\n\u8868\u793a\u6bcf\u6708\u7684\u7b2c 15 \u8207 30 \u5929\u57f7\u884c\u5de5\u4f5c\u3002\u53e6\u4e00\u7a2e\u683c\u5f0f ww \u5247\u662f\u4ee3\u8868\u661f\u671f\uff0c\u4e2d\u6587\u7684\u661f\u671f\u7528\u4e00\u3001\u4e8c\u3001\u4e09\u3001\u56db\u3001\u4e94\u3001\u516d\u3001\u65e5\u4f86\u8868\u793a\u3002<br \/>\n\u82f1\u6587\u5247\u4ee5 [\u2026]<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7cfb\u7d71\u5167\u5efa shutdown.exe \u9019\u500b\u7a0b\u5f0f \u7acb\u5373\u95dc\u6a5f\uff1a shutdown -s &hellip; <a href=\"http:\/\/163.26.205.2\/~teablog\/tea1001\/?p=711\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=\/wp\/v2\/posts\/711"}],"collection":[{"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=711"}],"version-history":[{"count":0,"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=\/wp\/v2\/posts\/711\/revisions"}],"wp:attachment":[{"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/163.26.205.2\/~teablog\/tea1001\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}