Computing.Net > Forums > Windows Server 2003 > What's the dos ZIP command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

What's the dos ZIP command

Reply to Message Icon

Name: KBZ317
Date: August 27, 2009 at 07:56:03 Pacific
OS: Windows XP
CPU/Ram: 512
Product: Hewlett-packard / 900
Subcategory: General
Comment:

Hi,
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?

pp



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: August 27, 2009 at 08:25:34 Pacific
Reply:

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.


0

Response Number 2
Name: MWCC
Date: August 28, 2009 at 03:00:25 Pacific
Reply:

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:

http://technet.microsoft.com/en-us/...


0

Response Number 3
Name: jefro
Date: August 31, 2009 at 12:49:01 Pacific
Reply:

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.

note-icon

Note

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:
http://www.microsoft.com/downloads/...

See -Z switch for MS-ZIP compression

Syntax:

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

Description:
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)


0

Response Number 4
Name: jefro
Date: August 31, 2009 at 18:41:19 Pacific
Reply:

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)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: What's the dos ZIP command

what's the best OS for web hosting www.computing.net/answers/windows-2003/whats-the-best-os-for-web-hosting/5072.html

quicky-> what's the default port... www.computing.net/answers/windows-2003/quicky-whats-the-default-port/303.html

What Am i doing wrong??? Sec Policy www.computing.net/answers/windows-2003/what-am-i-doing-wrong-sec-policy/3930.html