I am trying to use the move command to move a folder, i have used the code from MSDN and it work pretty well just one problem the file is moved but there is no data inside the moved file. I am sure it is something small but is missing it, here i my code
If File.Exists(path) = False Then
' This statement ensures that the file is created,
' but the handle is not kept.
Dim fs As FileStream = File.Create(path1)
' Ensure that the target does not exist.
If File.Exists(path2) Then
' Move the file.