L
Lynn
Hi,
I use the following code to run xcopy, but my application hangs after the
copying has finished. What could be wrong?
Dim psi As New ProcessStartInfo()
psi.FileName = "xcopy"
psi.Arguments = "c:\abc d:\abc"
Process.Start(psi)
Process.GetCurrentProcess.WaitForExit()
I use the following code to run xcopy, but my application hangs after the
copying has finished. What could be wrong?
Dim psi As New ProcessStartInfo()
psi.FileName = "xcopy"
psi.Arguments = "c:\abc d:\abc"
Process.Start(psi)
Process.GetCurrentProcess.WaitForExit()