How to choose multiple batch commands to run in Visual Basic? : I have written a code in Visual Basic. It works, but i want to be able to choose how many times a batch file will be opened.

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim command As String
        command = "ping " + "-l " + TextBox2.Text + " /t " + TextBox1.Text
        Shell("cmd.exe /k" & command, 0)
    End Sub

So i have a TextBox called "TextBox3" where i wanna be able to write from 1-100, how many times the command will run.