R.Wieser
2016-06-09 18:43:35 UTC
Hello All,
Using XP I'm creating a .ZIP file and am copying some folders into it using
the CopyHere method
http://www.techcoil.com/blog/handy-vbscript-functions-for-dealing-with-zip-f
iles-and-folders )
The problem I have is the "when am I done?" method. The
"[namespace].items.count" method seems only to return the items in that
particular folder, ignoring any-and-all items in the subfolders.
This means that the "when am I done?" method might determine it is, while
there are still plenty of files in subfolders waiting to be copied (most
likely causing those files not to get copied at all, as the object is
cleaned up when the script terminates). :-(
Question: Is there another, preferrably simple*, method to get a "bit more"
accurate method to determine all copying is done ?
*meaning: not a "by hand" gathering and counting of the to-be-copied files.
Regards,
Rudy Wieser
Using XP I'm creating a .ZIP file and am copying some folders into it using
the CopyHere method
http://www.techcoil.com/blog/handy-vbscript-functions-for-dealing-with-zip-f
iles-and-folders )
The problem I have is the "when am I done?" method. The
"[namespace].items.count" method seems only to return the items in that
particular folder, ignoring any-and-all items in the subfolders.
This means that the "when am I done?" method might determine it is, while
there are still plenty of files in subfolders waiting to be copied (most
likely causing those files not to get copied at all, as the object is
cleaned up when the script terminates). :-(
Question: Is there another, preferrably simple*, method to get a "bit more"
accurate method to determine all copying is done ?
*meaning: not a "by hand" gathering and counting of the to-be-copied files.
Regards,
Rudy Wieser