Windows 杂七杂八小结。

  1. Windows 运行(Run)小结:
    • Windows 运行对话框实际为 shell32.dll 的资源,可通过如下方式调用:

      1
      c:\windows\system32\rundll32.exe shell32.dll,#61

    • Windows 运行除读取 PATH 中的路径外,还会查询 App Path 注册表键:

      1
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

    • 几个比较有用的命令:
      • \: 打开 C:\
      • .: 相当于 %USERPROFILE%
      • ..: 相当于 \Users
      • control: 控制面板
      • sysdm.cpl: 系统属性对话框
      • compmgmt.msc: 计算机管理
      • msinfo32: 系统信息
      • cleanmgr: 磁盘清理
      • eventvrw.msc: 事件查看器
      • resmon: 资源监视器
      • mstsc: 远程桌面连接
  2. cmd 终端中可运行两种命令:内部命令、外部命令,部分列举如下:
    • Internal Commands: breakcallchcpchdir(cd)clscopycttydatedel(erase)direchoexitforgotoifmkdir(md)pathpausepromptremrename(ren)rmdir(rd)setshifttimetypeververifyvol
    • External Commands: appendassignattribbackupchkdskcommandcompdebugdiskcompdiskcopydoskeydosshelleditedlinemm386exe2binexpandfastopenfcfdiskformatgraftablegraphicshelpjoinkeyblabelmemmirrormodemorenlsfuncprintqbasicrecoverreplace, restoresetversharesortsubstsystreeundeleteunformatxcopy
  3. Windows 连接过的网络条目在注册表中位置:
    1
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles