以下粘贴到一个记事本把后缀改成bat即可,此批处理会自动提权到管理员权限. @echo off :: BatchGotAdmin :------------------------------------- REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" REM --
1. tzselect [[email protected] etc]# tzselect --- 选择时区命令 Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean 7) Au
echo off cls title 设置IP echo 正在设置IP地址,请稍候-- netsh interface ip set address "本地连接" static 192.168.218.169 255.255.255.0 192.168.218.254 1 echo 正在更改DNS设置,请稍候-- echo 正在更改DNS设置,请稍候-- netsh interface ip set dns "本地连接" static 192.168.12.128