Experts Exchange connects you with the people and services you need so you can get back to work.
it terminates without error.
But logging of user error reports show that in some circumstances the batch file leaves behind a locked file.
Catch ex as Exception
' Unable to open file. See ex for the exact issue.
Open in new window
Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
Dim objProcess As New Process
Dim startInfo As New ProcessStartInfo("CMD.EXE")
Dim boolUserHasInteruptedByESCKeyOnce As Boolean
Dim objErrorMessage As clsErrorMessage
startInfo.WindowStyle = ProcessWindowStyle.Minimized
startInfo.WindowStyle = ProcessWindowStyle.Hidden
startInfo.CreateNoWindow = True
startInfo.UseShellExecute = False
startInfo.Arguments = Arguments
objProcess = Process.Start(startInfo)
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Premium members get this course for $49.99.
Premium members get this course for $151.20.
Premium members get this course for $349.00.
Premium members get this course for $24.99.
Premium members get this course for $79.20.
Premium members get this course for $159.20.
Premium members get this course for $62.50.