Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11469
| From | Ulrich Möller <knobbi38@arcor.de> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: VB Script for creating zip file and copying files into it. |
| Date | 2016-11-30 13:53 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <o1mhvm$vc5$1@dont-email.me> (permalink) |
| References | (8 earlier) <fa9fa6c3-3da5-433a-8fdb-77497f96c443@googlegroups.com> <583d2d63$0$21404$e4fe514c@news.xs4all.nl> <c7544106-b88c-4e7b-baeb-ad52c0407bc9@googlegroups.com> <583d5eb3$0$21399$e4fe514c@news.xs4all.nl> <8342c826-ae94-40d9-90ba-e1f24f311ebf@googlegroups.com> |
Am 30.11.2016 um 04:49 schrieb Chitra Balasubramani:
> I tried the below code as well. Getting Access denied error.
>
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set ts = fso.CreateTextFile("C:\apace-jmeter-3\bin\Results\outcome.zip", True)
> ts.Write "PK" & Chr(5) & Chr(6) & String( 18, Chr(0) )
> WScript.Sleep 5000
> ts.Close
> Set fso = nothing
> Set ts = nothing
> WScript.Sleep 5000
>
> Set objShell = CreateObject("Shell.Application")
> Set DestFldr=objShell.NameSpace("C:\apache-jmeter-3.02\bin\Results\temp.zip")
> Set SrcFldr=objShell.NameSpace("C:\Users\chitra.balasubramani\Desktop\Mail")
> DestFldr.CopyHere (SrcFldr.Items)
> WScript.Sleep 5000
Hi,
may be you do have some access errors! Check each component of the
destination and source path if you have the correct rights (including
the newly created zipfile!) with the window command cacls or icalcs.
Here are some links:
http://www.robvanderwoude.com/vbstech_files_zip.php
http://www.xstandard.com/en/documentation/xzip/
Ulrich
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar
VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-27 22:57 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-28 09:24 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-28 02:25 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-28 11:48 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-28 02:47 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-28 12:21 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-28 04:07 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-28 17:04 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-28 20:06 -0800
Re: VB Script for creating zip file and copying files into it. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-29 08:16 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-29 02:36 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-29 08:28 +0100
Re: VB Script for creating zip file and copying files into it. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-11-29 08:47 +0100
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-29 08:59 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-29 01:37 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-29 11:58 +0100
Re: VB Script for creating zip file and copying files into it. Chitra Balasubramani <chitrabala274@gmail.com> - 2016-11-29 19:49 -0800
Re: VB Script for creating zip file and copying files into it. "R.Wieser" <address@not.available> - 2016-11-30 08:53 +0100
Re: VB Script for creating zip file and copying files into it. Ulrich Möller <knobbi38@arcor.de> - 2016-11-30 13:53 +0100
Re: VB Script for creating zip file and copying files into it. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2016-11-29 11:56 -0500
Re: VB Script for creating zip file and copying files into it. Gloops <gloops@zailes.invalid.org.invalid> - 2016-12-19 13:40 +0100
Re: VB Script for creating zip file and copying files into it. Gloops <gloops@zailes.invalid.org.invalid> - 2016-12-19 13:42 +0100
csiph-web