Hi there
i would like to copy folders through forms
specifically i would like to copy the folder "C:\mike" to the subfolders of the "c:\test\"
how can i do that?
in the past i used the "copyfolder" function to do something like that:
' copy all folders from source to destination folder
Dim fso, dfol
Dim sfol As String
sfol = "C:\Program Files\diet\diets\Daily\*.*" ' source folder path
dfol = "C:\Program Files\diet\diets\Subcalorie\" ' destination folder path
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFolder sfol, dfol
But now the problem is that the destination folder has not a specific name and that it is not only one folder but all the folders included to the "test" folder
Can anyone please help me??
thanx...
i would like to copy folders through forms
specifically i would like to copy the folder "C:\mike" to the subfolders of the "c:\test\"
how can i do that?
in the past i used the "copyfolder" function to do something like that:
' copy all folders from source to destination folder
Dim fso, dfol
Dim sfol As String
sfol = "C:\Program Files\diet\diets\Daily\*.*" ' source folder path
dfol = "C:\Program Files\diet\diets\Subcalorie\" ' destination folder path
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFolder sfol, dfol
But now the problem is that the destination folder has not a specific name and that it is not only one folder but all the folders included to the "test" folder
Can anyone please help me??
thanx...