Advertisement
3_2004-2005 Coding Standards #140394

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 摘要: 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.

源代码
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
原始评论 (3)
从 Wayback Machine 恢复