zoukankan      html  css  js  c++  java
  • 自动关机命令

    关闭计算机               shutdown –s 

    延迟3秒关闭计算机 shutdown –s –t 3

    取消关闭计算机 shutdown –a

    ShutDown命令详解

    用法: shutdown [-i | -l | -s | -r | -a] [-f] [-m \computername] [-t xx] [-c "comment"] [-d up:xx:yy]没有参数 显示此消息(与 ? 相同)

    -i 显示 GUI 界面,必须是第一个选项
    -l 注销(不能与选项 -m 一起使用)
    -s 关闭此计算机
    -r 关闭并重启动此计算机
    -a 放弃系统关机
    -m \computername 远程计算机关机/重启动/放弃
    -t xx 设置关闭的超时为 xx 秒
    -c "别开bt了 谢谢" 关闭注释(最大 127 个字符)
    -f 强制运行的应用程序关闭而没有警告
    -d [p]:xx:yy 关闭原因代码
    u 是用户代码
    p 是一个计划的关闭代码
    xx 是一个主要原因代码(小于 256 的正整数)
    yy 是一个次要原因代码(小于 65536 的正整数)
    -f:强行关闭应用程序
    -m \计算机名:控制远程计算机
    -i:显示图形用户界面,但必须是Shutdown的第一个选项
    -l:注销当前用户
    -r:关机并重启
    -t时间:设置关机倒计时
    -c "消息内容":输入关机对话框中的消息内容(不能超127个字符



  • 相关阅读:
    Balanced Binary Tree
    Swap Nodes in Pairs
    Reverse Nodes in k-Group
    Reverse Linked List II
    Remove Nth Node From End of List
    Remove Duplicates from Sorted List II
    Remove Duplicates from Sorted List
    Partition List
    Merge Two Sorted Lists
    【Yii2.0】1.2 Apache检查配置文件语法
  • 原文地址:https://www.cnblogs.com/laymond/p/3050387.html
Copyright © 2011-2022 走看看