Private Declare Function GetSystemDirectory Lib "kernel32" Alias _ "GetSystemDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long ' The path of the System directoryFunction SystemDirectory() As String Dim buffer As String * 512, length As Integer length = GetSystemDirectory(buffer, Len(buffer)) SystemDirectory = Left$(buffer, length)End Function
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)