I was wondering what is the best way of MOVING files from one folder to another using Visual Basic. If error occurs it should call error routine. I really appreciate any suggestions.
Try using the Name function to change the absolute
address. For instance, if you want to move file1.txt from
C:\directory1 to C:\directory2, just add the line:
Name C:\directory1\file1.txt As C:\directory2\file1.txt
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.