shutdown就是关机。
出了关机,还有什么?
使用方法:
- -s
- 关机。
shutdown -s
- 关机。
- -r
- 重启。
shutdown -r
- 重启。
- -t
- 指定 *** 作时间。
以秒计,默认30。
shutdown -s -t xx
shutdown -r -t xx
- 但不要
shutdown -t xx
。
- 指定 *** 作时间。
- -a
- 取消 *** 作。
只能在倒计时时用。
shutdown -a
- 取消 *** 作。
- -?
- 显示帮助。
- 显示帮助。
上面几个选项只是shutdown用法中很小的一部分,全部用法如下:
可以写在*.bat文件里:
shutdown -s -t 60
也可以用在C++里:
#include //system函数
using namespace std;
int main()
{
system("shutdown -s -t 60");
return 0;
}
That’s all~
f ( x ) = c t g ( l g ( x 3 ) ) f(x)=ctg(lg(x^3)) f(x)=ctg(lg(x3))
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)