admin管理员组

文章数量:1536097

1. 快捷健和内置应用

1.1 切换快捷键
  • 新建桌面:WIN + CTRL + D
  • 切换桌面:WIN + CTRL + 左箭头/右箭头
  • 任务视图:WIN + TAB
  • 切换应用:ALT + TAB
  • 倒序切换应用:ALT + SHIFT + TAB
  • 更改屏幕方向:CTRL + ALT + 箭头
1.2 WIN快捷键
  • 右键开始菜单:WIN + X
  • 最小化/恢复 所有窗口:WIN + D
  • 文件资源管理器:WIN + E
  • 打开设置:WIN + I
  • 锁屏:WIN + L
  • 切换显示器:WIN + P
  • 运行:WIN + R
  • 打开任务栏应用:WIN + 数字键
  • 截图:WIN + SHIFT + S
1.3 内置应用
  • 计算器:calc
  • 画图:mspaint
  • 远程桌面连接:mstsc
  • 控制面板:control
  • 文件资源管理器:explorer
  • 屏幕键盘:osk
  • 记事本:notepad
  • 写字板:wordpad
  • 截图工具:snippingtool
  • 查看系统版本:winver
  • 注册表编辑器:regedit
  • 网络适配器:ncpa.cpl
  • 计算机管理:compmgmt.msc
  • 防火墙:firewall.cpl
  • 系统配置:msconfig.exe
  • 日期与时间:timedate.cpl
  • 任务管理器:taskmgr
  • 服务:services.msc
  • 设备管理器:devmgmt.msc
  • 系统属性:sysdm.cpl

2. 命令和脚本

电源相关命令
  • 立即关机:shutdown -s -t 0
  • 立即重启:shutdown -r -t 0
  • 注销用户:logoff
运维命令
  • 查看某端口信息:netstat -nao | findStr 端口号
  • 根据进程号终止进程:taskkill /f /t /pid 进程号
  • 根据进程名称终止进程:taskkill /f /t /im 进程名称
  • 根据进程名称搜索进程:tasklist |findstr 进程名称
ip地址侦测器
  • nslookup
计算文件的MD5
  • certutil -hashfile 1.txt MD5
计算文件的base64编解码
  • certutil -encode 1.txt 2.txt
  • certutil -encodehex 1.txt 2.txt
  • certutil -decode 2.txt 3.txt
  • certutil -decodehex 2.txt 3.txt
win10计算文件MD5
  • Get-FileHash D:\fileName -Algorithm MD5| Format-List
进入另一个盘符
  • cd /d D:/test
设置临时环境变量
  • @SET PATH=C:\bin;%PATH%
计算MD5
@echo off
setlocal enabledelayedexpansion
cls
set filePath=%1
if "%filePath%"=="" (
    set /p=file path is empty<nul
    goto EXIT
)
if not exist %filePath% (
    set /p=file is not exist<nul
    goto EXIT
)
if exist %filePath%\* (
    set /p=file is directory<nul
    goto EXIT
)

set lineFlag=0
for /f "delims=" %%i in ('certutil -hashfile %filePath% MD5') do (
    set /a lineFlag+=1
    if !lineFlag!==2 (
        set lineContent=%%i
        goto out
    )
)
:out

echo %filePath%
echo MD5:%lineContent%

:EXIT
  • 软件安装目录
    C:\Users\admin\AppData\Local

本文标签: 快捷键脚本命令常用