Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[VB.NET] Native directory copying/moving?

Junior Spellweaver
Joined
Nov 9, 2008
Messages
178
Reaction score
5
I've gotta copy a directory full of files on a USB stick to a directory on a computer using Visual Basic .NET, I've never needed to use Visual Basic hence I haven't properly used it. Does Visual Basic support a native way of copying a directory? I've tried a few things on Google such as
My.Computer.FileSystem.CopyDirectory
My.Computer.FileSystem.MoveDirectory
While I was googling I found the ability to use to copy a single file, if VB doesnt support natively copying a file the next best thing would be to get a count of all the files in the original directory and then copying them to the new one, right?

Oh and btw, i really like how well documented some of these functions are, esp MSDN.
 
Back
Top