sol12-2.vbs

来自「Apress - Managing Enterprise Systems Wit」· VBS 代码 · 共 16 行

VBS
16
字号
Dim objSession, objShell, strProf

Set objShell = CreateObject("WScript.Shell")
' create a MAPI session 
Set objSession = CreateObject("MAPI.Session")

If InStr(objSession.OperatingSystem, "NT") > 0 Then
  strProf = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\" & _
         "Windows Messaging Subsystem\Profiles\DefaultProfile"
Else
  strProf = "HKCU\Software\Microsoft\Windows Messaging Subsystem" & _
        "\Profiles\DefaultProfile"
End If
'logon using the default profile name
objSession.Logon objShell.RegRead(strProf)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?