is it possible to create a .zip file from a folder in the command line, I don't want to use any third party executable.
I was thinking something like 'send to compressed folder' but I don t know how to do it...
|
is it possible to create a .zip file from a folder in the command line, I don't want to use any third party executable. I was thinking something like 'send to compressed folder' but I don t know how to do it... |
||||
|
I've combined this script from several different sources to suit my needs better. Copy and paste the script into a file with the extension ".vbs". The script was originally made for Windows XP, but it also works in Windows 7 x64 Ultimate - no guarantee's if Windows will keep around the various Shell objects this uses. Usage: in the run box or command line put-
Path to script, source folder, zip file to make (include .zip at the end). It won't copy empty folders so be careful. Here is the vbs code ---
|
|||||||||
|
|
I don't think there is a command line for ZIP files built in to Windows (Other than |
|||
|
|
compress.exe. – ho1 Oct 20 '10 at 7:56