Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11323
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| 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 | Fri, 10 Jun 2016 14:45:00 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 35 |
| Message-ID | <njf1rd$m5g$1@dont-email.me> (permalink) |
| References | <5759b872$0$5886$e4fe514c@news.xs4all.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 10 Jun 2016 18:45:01 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="847cb9ac544c0d3986237452b863d7e6"; logging-data="22704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sz8oB0HfdINYNUw4gwHklwy5BkWmxKvw=" |
| User-Agent | Thunderbird 2.0.0.24 (Windows/20100228) |
| In-Reply-To | <5759b872$0$5886$e4fe514c@news.xs4all.nl> |
| Cancel-Lock | sha1:D3bkv8l14rdmFu+HMb4hh2iFcp4= |
| Xref | csiph.com microsoft.public.scripting.vbscript:11323 |
Show key headers only | View raw
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