?? getwindowsdir.txt
字號:
Public Declare Function GetWindowsDirectory Lib "kernel32" _
Alias "GetWindowsDirectoryA" _
(ByVal lpBuffer As String, ByVal nSize As Long) As Long
Public Function GetWinDir() As String
Dim windir As String ' receives path of Windows directory
Dim SLength As Long ' receives length of the string returned
windir = Space(255) ' initialize buffer to receive the string
SLength = GetWindowsDirectory(windir, 255) ' read the path of the Windows directory
windir = Left(windir, SLength) ' extract the returned string from the buffer
GetWinDir = windir
End Function
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -