Advertisement
7_2009-2012 Coding Standards #231973

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

Riepilogo 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.

Codice sorgente
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
Commenti originali (3)
Recuperato da Wayback Machine