What's the dos ZIP command

Hewlett-packard / 900
August 27, 2009 at 07:56:03
Specs: Windows XP, 512
I am looking for DOS zip command in
Windows Server 2003.
I can not install any free software.
I am looking for Zip commands that comes
with Windows server 2003.
I can also zip by right clicking mouse but I
need command to put in one of my batch file.
Does anyone one what's that DOS command?


See More: Whats the dos ZIP command

Report •

August 27, 2009 at 08:25:34
there is no dos in server 2003
there have never been zip commands in dos

there is pkzip which is a third party software by pkware

google pkzip for further information.

Report •

August 28, 2009 at 03:00:25
Yes, MS-DOS has never been in Server O/Ses NT4/W2K/W2K3/W2K8, never even been in NT/W2K/XP/Vista?W7 either.........

I believe you are talking about NT COMMAND PROMT CMD.EXE.... A lst of command line commands can be found here:


Report •

August 31, 2009 at 12:49:01
You can choose compact or compress depending on what you need to do.

From technet site.

If you just want to save space on the hard drive.

"Using Compact

Compact is the command-line version of the compression functionality in Windows Explorer. The compact command displays and alters the compression of folders and files on NTFS volumes. It also displays the compression state of folders.

There are two reasons why you might want to use Compact instead of Windows Explorer:


You can use Compact in a batch script.

If the system fails during compression or decompression, the file or folder is marked as Compressed or Uncompressed. If the operation did not complete, Compact forces the operation to complete in the background.



Unlike Windows Explorer, Compact automatically compresses or decompresses any files that are not already in the compression state that you set for the folder.

For more information about Compact, see File System Tools later in this chapter."

IF you are allowed to install MS tools then..

You can use the compress command from 2003 ressource kit:

See -Z switch for MS-ZIP compression


COMPRESS [-R] [-D] [-S] [ -Z | -ZX ] Source Destination
COMPRESS -R [-D] [-S] [ -Z | -ZX ] Source [Destination]

Compresses one or more files.

Parameter List:
-R Rename compressed files.

-D Update compressed files only if out of date.

-S Suppress copyright information.

-ZX LZX compression. This is default compression.

-Z MS-ZIP compression."

will be your answer.

Playing to the angels
Les Paul (1915-2009)

Report •

Related Solutions

August 31, 2009 at 18:41:19
For those that can't read long posts.

"You can use the compress command from 2003 ressource kit:"

Playing to the angels
Les Paul (1915-2009)

Report •

Ask Question