none
Compress/zip files from the command line in Windows 7?

    Question

  • In Windows 7 is there a native way to compress or zip files from the command line?  I'd like to do it without installing any third-party utilities such as 7Zip.
    Tuesday, March 08, 2011 9:30 PM

Answers

  • check this:

    http://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows


    "A programmer is just a tool which converts caffeine into code"

    Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221
    • Marked as answer by Vivian Xing Tuesday, March 15, 2011 3:13 AM
    Tuesday, March 08, 2011 9:51 PM
  • Hi,

     

    You can use Compact command. For more information, please refer to the following article.

     

    http://technet.microsoft.com/en-us/library/bb490884.aspx

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, March 10, 2011 9:52 AM
    Moderator

All replies

  • check this:

    http://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows


    "A programmer is just a tool which converts caffeine into code"

    Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221
    • Marked as answer by Vivian Xing Tuesday, March 15, 2011 3:13 AM
    Tuesday, March 08, 2011 9:51 PM
  • Hi,

     

    You can use Compact command. For more information, please refer to the following article.

     

    http://technet.microsoft.com/en-us/library/bb490884.aspx

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, March 10, 2011 9:52 AM
    Moderator
  • Thanks for the reminder about the native Windows COMPACT.EXE.  With the files I have I see it compresses to a ratio of about 2.3:1; with 7ZIP creating a .ZIP file the ratio is about 6:1.  So there's definitely a difference but it's something we may be able to live with.  Thank you.

    Thursday, March 10, 2011 3:43 PM
  • Hi,

     

    You can use Compact command. For more information, please refer to the following article.

     

    http://technet.microsoft.com/en-us/library/bb490884.aspx

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    This response is 100% wrong.  It accomplishes no part of the request.
    Thursday, October 03, 2013 8:02 PM