CodeItBetter Programming Another VB Programming Blog

How to Move the files

Posted on January 4, 2009
1
2
3
4
5
6
7
8
9
'File/Folder Handling - How to Move the files
Sub FileOperations()
    ' All file operations should be protected against errors.
    ' None of these functions works on open files.
    On Error Resume Next
    ' Rename a file--note that you must specify the path in the target,
    ' otherwise the file will be moved to the current directory.
    Name "c:\vb6\TempData.$$$" As "d:\VS98\Temporary.Dat"
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.