Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("cmd.exe /c ping naver.com > efham.txt & efham.txt", AppWinStyle.MaximizedFocus)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Shell("cmd.exe /c systeminfo > efham.txt & efham.txt", AppWinStyle.Hide)
End Sub
End Class