admin 发表于 2023-2-10 06:36:57

自动关机命令要怎么设置?

<div class="markdown-body editormd-preview-container">
                              <p style="text-align: left; text-indent: 2em">
我们在操作完系统都是要通过关机来节约资源,我们可以给电脑设置自动关机的命令来提高操作的效率,那要怎么进行操作呢,大家可以尝试通过下方的操作方法进行操作即可,希望本篇教程可以对大家有所帮助。<br>



</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">自动关机命令</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">1、 win+r快捷键打开运行窗口后输入cmd,点击确定</span>
</p>
<p style="text-align: center">
<ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251359.jpg"></a>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">2、 如果你对代码不熟,可以在cmd出口里面输入&ldquo;shutdown&rdquo;进行查看shutdown命令用法及参数。附几个比较常用且比较重要的。</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">shutdown参数</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">-s:表示关闭计算机</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">-r:表示关闭并重启计算机</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">-t:表示时间,以秒为单位(一小时则用 -t 3600)</span>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">-a:表示终止系统关闭</span>
</p>
<center style="text-align: left; text-indent: 2em">
        <p style="text-align: center">
        <ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251361.jpg"></a>
        </p>
</center>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">3、 这里测试一小时后关机为例,那么则是输入:shutdown -s -t 3600,要注意是有空格的。3600是一小时的秒钟数,因为电脑系统记忆关机时间时是以秒计算的。所以我们要将小时换算为秒</span>
</p>
<center style="text-align: left; text-indent: 2em">
        <p style="text-align: center">
        <ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251363.jpg"></a>
        </p>
</center>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">4、 输入回车后,则是会在右下角有个提示关机任务提醒出来。</span>
</p>
<center style="text-align: left; text-indent: 2em">
        <p style="text-align: center">
        <ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251365.jpg"></a>
        </p>
</center>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">5、 假如需要取消关机的话,那么可以在cmd窗口里面输入:shutdown &ndash;a。具体的可看:</span><span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">取消自动关机命令</span>
</p>
<p style="text-align: center">
<ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251367.jpg"></a>
</p>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">6、 进行取消任务后,同样的也是会在桌面有下角会有相应的提示信息出来。</span>
</p>
<center style="text-align: left; text-indent: 2em">
        <p style="text-align: center">
        <ahref="https://www.downkr.com/uploadfile/2021/1129/2021112915135251369.jpg"></a>
        </p>
</center>
<p style="text-align: left; text-indent: 2em">
<span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">以上就是关于自动关机命令介绍,更多</span><span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">电脑重装系统</span><span microsoft="" style="font-size: 14px; font-family: 微软雅黑, ">下载尽在当客官网。</span>
</p>
<div class="clear"> </div>
                            </div>
页: [1]
查看完整版本: 自动关机命令要怎么设置?