осталось разобраться как сразу можно несколько папок
Option Explicit
Sub MakeDirPath(dirname As String)
Dim i As Long, path As String
Do
i = InStr(i + 1, dirname & "\", "\"
path = Left$(dirname, i - 1)
If Right$(path, 1) <> ":" And Dir$(path, vbDirectory) = "" Then
MkDir path
End If
Loop Until i >= Len(dirname)
End Sub
Private Sub Command1_Click()
Dim fbs As Long
For fbs = 0 To 5 Step 1
MkDir "c:\1" & fbs + 1 'Gorizontalno
Next fbs
End Sub
Private Sub Command2_Click()
Call MakeDirPath("C:\Raz\1\2\3\Stop\" 'Wertikalno
End Sub
Dim s As Variant
Dim stroka As String, letter As String
stroka = ""
s = Split(Text1.Text, "\"
For i = 0 To UBound(s) - 1
stroka = stroka & s(i) & "\"
Next i
MsgBox stroka
ТОчно, а чтоб не забыл вот тебе пример,
созданиия папок русского алфавита в папке ABC.
Private Sub Command3_Click()
MkDir "c:\ABC"
Dim fbs As Long, z As String
For fbs = 192 To 223 Step 1 'ïåðåáèðàåì îò À äî ß
z = Chr(fbs)
Select Case fbs
Case 201, 218, 219, 220 ' èñêëþ÷àåì áóêâû É,Ú,Ü,Û
GoTo qw: 'ïåðåñêî÷èì ÷àñòü êîäà
End Select
MkDir "c:\ABC" & "\" & z 'Ñîçäàåì ïàïêè âíóòðè ïåðâè÷íîé ïàïêè
qw: 'êîíåö ïåðåñêàêèâàíèÿ
Next fbs
End Sub
не идет кодировка, ты уж без коментариев используй.