Run Any Dos Internal & External Commands including their switches.
Run Any Dos Internal & External Commands including their switches.
Rate Run Any Dos Internal & External Commands including their switches.
(1(1 Vote))
'-------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
Run Any Dos Internal & External Commands including their switches. Comments
No comments yet — be the first to post one!
Post a Comment