Posted on 2006-05-06
I have this problem:
Dim procusers As New System.Diagnostics.Process()
procusers.StartInfo.FileName = "C:\test\robocopy.exe"
procusers.StartInfo.Arguments = """/JOB:C:\test\test1"""
procusers = Nothing
This is running a copy of about 2TB of data and is working well. But, for what ever reason if I stop the program by exiting the dos window it is causing problems on the windows box and the server needs rebooting.
Is there some code I chould use to interrupt this program so it shuts down properly.
I assume that because the app is writing to disk at the time it exits that this is causing the problem.