Thank's
Marc
--
Greetings,
Daniel Martín
"Marc Lefebvre" <marc__lefebv...@hotmail.com> wrote in message news:%23bmJ%23kq9F...@TK2MSFTNGP11.phx.gbl...
Posted by Torgeir Bakken.
The zip functionality that comes with WinXP/Win2k3 does not have a command
line interface.
Some free zip/unzip programs that can help you:
ZipGenius has a command line interface (freeware)
http://www.zipgenius.it/
PowerArchiver has a command line version as well:
http://www.powerarchiver.com
Last freeware version of PowerArchiver:
http://www.321download.com/LastFreeware/
--
Ramesh, Microsoft MVP
Windows XP Shell/User
Windows XP Troubleshooting
http://www.winhelponline.com
"Marc Lefebvre" <marc__lefebv...@hotmail.com> wrote in message
news:%23bmJ%23kq9F...@TK2MSFTNGP11.phx.gbl...
Unzip.vbs SrcFldr DestFldr
eg, unzip "C:\..\My Documents" "C:\MyZip.zip"
It doesn't matter if the source is a zip and dest is a folder EXCEPT it only works zipping if there is a msgbox as the last statement. Dunno why. Msgbox is not needed if unzipping. I think it's an object reference thing and zipping is slow. Both Folders/Zips must exist.
===================================
Set objShell = CreateObject("Shell.Application")
Set Ag=Wscript.Arguments
set WshShell = WScript.CreateObject("WScript.Shell")
Set DestFldr=objShell.NameSpace(Ag(1))
Set SrcFldr=objShell.NameSpace(Ag(0))
Set FldrItems=SrcFldr.Items
DestFldr.CopyHere FldrItems, &H214
Msgbox "Finished"
--
--------------------------------------------------------------------------------------------------
Read David defending the concept of violence.
http://margokingston.typepad.com/harry_version_2/2005/10/entering_the_ga.html#more
=================================================
"Marc Lefebvre" <marc__lefebv...@hotmail.com> wrote in message news:%23bmJ%23kq9F...@TK2MSFTNGP11.phx.gbl...
> By default,
> With windows XP there is a command line to ZIP a file ?
>
Hi,
The zip functionality that comes with WinXP/Win2k3 does not have
a command line interface.
Some free zip/unzip programs that can help you:
ZipGenius has a command line interface (freeware)
http://www.zipgenius.it/
PowerArchiver has a command line version as well:
http://www.powerarchiver.com
Last freeware version of PowerArchiver:
http://www.321download.com/LastFreeware/
--
torgeir, Microsoft MVP Scripting, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx