An easy way to execute any command line in text1.text
Code to execute any file.exe with any command line.
Executes Any dos command line in only 7 lines of code
please comment and rate:):)
Assumes
requires 1 text box and 2 command buttons
place your command line in the text box
press command1 first then command2
Rate An easy way to execute any command line in text1.text
(8(8 Vote))
Private Sub Command1_Click()
Open CurDir & "/commandline.bat" For Output As #1
Print #1, Text1.Text
Close #1
Shell (CurDir & "/commandline.bat"), vbNormalFocus
End Sub
An easy way to execute any command line in text1.text Comments
No comments yet — be the first to post one!
Post a Comment