Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11323
| From | "Dave \"Crash\" Dummy" <invalid@invalid.invalid> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: XP CopyHere to a zip-file - when is it done ? |
| Date | 2016-06-10 14:45 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <njf1rd$m5g$1@dont-email.me> (permalink) |
| References | <5759b872$0$5886$e4fe514c@news.xs4all.nl> |
R.Wieser wrote: > 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. I cheat. I use the RUN command to run 7z.exe, the command line version of 7-Zip. The command line parameters and switches give plenty of flexibility, and the RUN command has the wait until done option. To see the 7z commands, run "d:\path\7z.exe > comline.txt" in a command box. -- Crash "Sometimes a cigar is just a cigar." ~ Sigmund Freud ~
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar
XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-09 20:43 +0200
Re: XP CopyHere to a zip-file - when is it done ? JJ <jj4public@vfemail.net> - 2016-06-10 11:10 +0700
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-10 09:17 +0200
Re: XP CopyHere to a zip-file - when is it done ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-10 09:48 +0200
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-10 11:11 +0200
Re: XP CopyHere to a zip-file - when is it done ? JJ <jj4public@vfemail.net> - 2016-06-11 18:50 +0700
Re: XP CopyHere to a zip-file - when is it done ? JJ <jj4public@vfemail.net> - 2016-06-11 18:55 +0700
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-11 16:49 +0200
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-11 16:18 +0200
Re: XP CopyHere to a zip-file - when is it done ? JJ <jj4public@vfemail.net> - 2016-06-11 18:14 +0700
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-11 13:50 +0200
Re: XP CopyHere to a zip-file - when is it done ? "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2016-06-10 14:45 -0400
Re: XP CopyHere to a zip-file - when is it done ? "R.Wieser" <address@not.available> - 2016-06-10 21:18 +0200
csiph-web