Imports System.IO
Dim SrcPath, DestPath As String
Try
SrcPath = "C:\SomeBigFile.bin"
DestPath = "C:\Subdirectory\SomeBigFile.bin"
File.Move(SrcPath, DestPath)
Catch ex As Exception
' Log Error
End Try
This will use Win32 operating system calls under the hood to move the file, so it's as fast as you'll get.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.