Advertisement
Java_Volume1 Coding Standards #94703

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:):)

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
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
Original Comments (3)
Recovered from Wayback Machine