Execute a file Correctly
It correctly executes a program
Rate Execute a file Correctly
(2(2 Vote))
DirPath = [Path of file]
On Error GoTo err:
X% = Shell(DirPath, 1): NoFreeze% = DoEvents(): Exit Sub
Exit Sub
err:
If err.Number = 6 Then Exit Sub
MsgBox "Please make sure you have the correct path and then try again."
Execute a file Correctly Comments
No comments yet — be the first to post one!
Post a Comment