Link to home
Start Free TrialLog in
Avatar of bens2333
bens2333

asked on

can windows built zip be used from a command line?

can i zip and unzip from a command line in windows xp????
Avatar of bens2333
bens2333

ASKER

without downloading winzip or any other utility, JUST WAHT IS AVAILABLE IN BASE WINDOWS XP INSTALL........
Hi bens2333,

you can download this and do http://malektips.com/wz0016.html

SR..
ASKER CERTIFIED SOLUTION
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SheharyaarSaahil, i fear you are right... i have not been able to find anything about this on gioogle or any other resource....
Ahh..   I think that it is very possible to do what you want here....  

You can also compress them, or view their compression attributes from the command line, using the "compact" command.

C:\>compact /?
Displays or alters the compression of files on NTFS partitions.

COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [filename [...]]

/C Compresses the specified files. Directories will be marked so that files added afterward will be compressed.

/U Uncompresses the specified files. Directories will be marked so that files added afterward will not be compressed.

/S Performs the specified operation on files in the given directory and all subdirectories. Default "dir" is the current directory.

/A Displays files with the hidden or system attributes. These files are omitted by default.

/I Continues performing the specified operation even after errors have occurred. By default, COMPACT stops when an error is encountered.

/F Forces the compress operation on all specified files, even those which are already compressed. Already-compressed files are skipped by default.

/Q Reports only the most essential information. filename Specifies a pattern, file, or directory.


Is this what you are looking for..????

FE
BTW:  Zipping folders in and using XP is the same as compressing them.
>>i have not been able to find anything about this on gioogle or any other resource
What exactly is it that you cannot find. I think both FE and I have shown you how to zip files from the command line without downloading anything.

<<OO>>
       ?
     
Confused.
IF NOT then....
the best option for me is wzunzip and wzzip from www.winzip.com
*grin*...  Gemarti...  did not see your link above, or I would have bypassed this one...  

FE
Probably a good thing you posted it.
Yea...  but we found the same link.   The thing is, that just about anything you can do within the GUI, you can do with a command line.   Lol, eh..??