vbscripting/special_folders.vbs

5 lines
250 B
Text
Raw Normal View History

2022-10-11 10:29:27 +03:00
Dim Fso
Set Fso = CreateObject("Scripting.FileSystemObject")
MsgBox "0 = " & Fso.GetSpecialFolder(0) & vbCrLf & "1 = " & Fso.GetSpecialFolder(1) & vbCrLf & "2 = " & Fso.GetSpecialFolder(2)
MsgBox "System drive = " & Fso.GetSpecialFolder(0).Drive