Difference between revisions of "小代码大作用:电脑开荒代码"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
shutdown.exe /s /t 00 |
shutdown.exe /s /t 00 |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
− | |||
== Debian 可用 == |
== Debian 可用 == |
Revision as of 11:12, 19 September 2023
Windows 可用
- set-network-private.ps1
- 用于把公用网络改为私用网络,实现全屋共享
- Requires -RunAsAdministrator
1Set-NetConnectionProfile -InterfaceAlias "以太网" -NetworkCategory Private
- shutdown.bat
- 用于双击立即关机,省下从开始键点好几下才关机的功夫
1@echo off
2shutdown.exe /s /t 00