Hi all, I am very new to VB, and I have a button that I want to execute a command (batch file) from a file location, and once it launches the batch file I would like my VB program to close... Lets call the file CommandScript.cmd and the location is C:\MyFile
Code:Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ' Where the file is called and executed...this is where I am completely stuck End Sub End Class




Reply With Quote
