R
Rob Meade
Hi all,
I have an application writing directories as and when needed, there is a
template directory which contains 5 files that I need to copy into each new
directory. I initially looked at the copyFolder method, but I dont want to
copy the entire folder 'into' the directory that I've just created only the
content.
I have therefore looked at the copying of a file method...
Would I be better :
a) Creating an object for each of the 5 files and copying them across one by
one..
eg. Set File = FSO.GetFile(strWebsiteRootPath & "\myfile.txt")
b) Not creating the directory initially as I am currently doing, then just
copy the entire template directory to the new location (which will be the
same 'level' as the template directory) - and I guess somehow rename it?
c) Some other option that I've not thought of )
Any help is appreciated,
Regards
Rob
I have an application writing directories as and when needed, there is a
template directory which contains 5 files that I need to copy into each new
directory. I initially looked at the copyFolder method, but I dont want to
copy the entire folder 'into' the directory that I've just created only the
content.
I have therefore looked at the copying of a file method...
Would I be better :
a) Creating an object for each of the 5 files and copying them across one by
one..
eg. Set File = FSO.GetFile(strWebsiteRootPath & "\myfile.txt")
b) Not creating the directory initially as I am currently doing, then just
copy the entire template directory to the new location (which will be the
same 'level' as the template directory) - and I guess somehow rename it?
c) Some other option that I've not thought of )
Any help is appreciated,
Regards
Rob