by Eleoson Gonzales (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 30th June 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Run Any Dos Internal & External Commands including their switches.
'-------Do not Edit This Code-----------------
'-------If you have any question--------------
'-------E-mail me at [email protected]
Public Function RunDosProg( DosProg As String,Hide As Boolean )
On Error Resume Next
Open "c:\DosProg.bat" for output as #1
Print #1,DosProg
Close 1
If Hide = True then
X = Shell("start c:\DosProg.bat",vbHide)
Else
X = Shell("start c:\DosProg.bat",vbNormal)
End if
End Function
No comments have been posted about Run Any Dos Internal & External Commands including their switches.. Why not be the first to post a comment about Run Any Dos Internal & External Commands including their switches..