Hello,
I dont know the command for ziping in dos.
I want to zip folder.I cant use 7zip.
Thanks.
I want to zip folder
Moderator: DosItHelp
Re: I want to zip folder
MSDOS has PKZIP.EXE but it is an external program. ZIP.EXE is a free alternative.
Windows does not have a native command to ZIP or UNZIP files from the command line, but it can be done using VBS and other scripting languages.
See here: viewtopic.php?f=3&t=6108 because your question is very vague.
Windows does not have a native command to ZIP or UNZIP files from the command line, but it can be done using VBS and other scripting languages.
See here: viewtopic.php?f=3&t=6108 because your question is very vague.
Re: I want to zip folder
I suppose you are not using dos but the command prompt/cmd.exe.
Here you find my investigation over the topic :
http://stackoverflow.com/questions/28043589/
Probably the zipjs.bat is the best option (I think this is most comprehensive attempt of using shell.application com object for zip operations that can be found).
you can zip a folder using it it like:
Here you find my investigation over the topic :
http://stackoverflow.com/questions/28043589/
Probably the zipjs.bat is the best option (I think this is most comprehensive attempt of using shell.application com object for zip operations that can be found).
you can zip a folder using it it like:
Code: Select all
call zipjs.bat zipDirItems -source C:\myDir\ -destination C:\MyZip.zip
Last edited by npocmaka_ on 20 Apr 2015 06:25, edited 1 time in total.
Re: I want to zip folder
npocmaka_,
the zip/unzip part is wow . thanks.
the zip/unzip part is wow . thanks.