Dim path As String = folderBrowse.SelectedPath
Dim i As Integer
Dim o As Integer
'Count the number of directories in <path> and set it to <o>
'Convert the first directory's number, which is the 7th and 8th character in the name. Then set that number to <i>
Do Until i = o
Shell("cmd /c 7za a -tzip " & path & " Lesson" & i & ".zip" & path & "*.exe *.dat " & "Lesson" & i)
i += 1
Loop
Does anyone know how to do this or have any literature that may help?

New Topic/Question
Reply




MultiQuote








|