- Home
·
- Miscellaneous
·
- Moves or copies an entire directory and all of its contents to a location of your choice. In 3 line
Moves or copies an entire directory and all of its contents to a location of your choice. In 3 line
Moves or copies an entire directory and all of its contents to a location of your choice. In 3 lines of code! For VB and ASP
Rate Moves or copies an entire directory and all of its contents to a location of your choice. In 3 line
(2(2 Vote))
'THIS FUNCTION WILL COPY ALL FILES
Function Copy_AllFiles
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFolder "C:\PathOfDirectoryToCopy", "C:\DestinationOfFolder"
End Function
'***********************************************************
'THIS FUNCTION WILL MOVE ALL FILES
Function Move_AllFiles
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.MoveFolder "C:\PathOfDirectoryToMove", "C:\DestinationPath"
End Function
Moves or copies an entire directory and all of its contents to a location of your choice. In 3 line Comments
No comments yet — be the first to post one!
Post a Comment