Advertisement
6_2008-2009 Coding Standards #209455

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

Shrnutí AI: 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.

Zdrojový kód
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
Původní komentáře (3)
Obnoveno z Wayback Machine