How to Use the Compress Opt in Properties of a File or Folder via cmd?


  1. Posts : 66
    Windows 10 Home
       #1

    How to Use the Compress Opt in Properties of a File or Folder via cmd?


    Yeah i've been using this trick to save my Dish Space and how Helpful it is... :)
    But i need a alternate way so that i don't have to manually do this.

    How to Use the Compress Opt in Properties of a File or Folder via cmd?-2016-07-20_180106.jpg
    I just need a way to apply this to certain folder using Command Prompt (cmd.exe).

    Thanks
      My Computer


  2. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
       #2

    ll.Hello PRince4, :)

    When you compress a folder, everything you save into that folder should get compressed as well by default.

    Compress or Uncompress Files and Folders in Windows 10 - Windows 10 Forums

    If you're looking for a way to make it easier to compress items, then using the context menu added by the tutorial below should help.

    Compress and Decompress - Add to File and Folder Context Menu - Windows 7 Help Forums
      My Computers


  3. Posts : 66
    Windows 10 Home
    Thread Starter
       #3

    Brink said:
    ll.Hello PRince4, :)

    When you compress a folder, everything you save into that folder should get compressed as well by default.

    Compress or Uncompress Files and Folders in Windows 10 - Windows 10 Forums

    If you're looking for a way to make it easier to compress items, then using the context menu added by the tutorial below should help.

    Compress and Decompress - Add to File and Folder Context Menu - Windows 7 Help Forums
    Thanks for the reply and also sorry for my late reply
    This method is the other thing rather than what i needed i was thinking is there's a way to do it via cmd?
      My Computer


  4. Posts : 4,782
    Windows 11 Pro 64 Bit 22H2
       #4

    I'm sure your going to continue to compress files no matter what I say. But HDD's are relatively inexpensive these days and getting larger capacity every day. There really is no need to compress files.
    Be aware, that if you have an issue with your HDD and you need to use Data Recovery software to recover your files, you will have a very difficult time recovering compressed files, most of the data will probably be corrupt. As opposed to non compressed files which are much easier to recover.
      My Computer


  5. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
       #5

    PRince4 said:
    Thanks for the reply and also sorry for my late reply
    This method is the other thing rather than what i needed i was thinking is there's a way to do it via cmd?
    Sure. The first tutorial I posted below has options for compressing files or folders via the command prompt. It's the same commands used by the other context menu tutorial. :)

    Compress or Uncompress Files and Folders in Windows 10
      My Computers


  6. Posts : 15,480
    Windows10
       #6

    spunk said:
    I'm sure your going to continue to compress files no matter what I say. But HDD's are relatively inexpensive these days and getting larger capacity every day. There really is no need to compress files.
    Be aware, that if you have an issue with your HDD and you need to use Data Recovery software to recover your files, you will have a very difficult time recovering compressed files, most of the data will probably be corrupt. As opposed to non compressed files which are much easier to recover.
    Totally agree.

    In reality, compression impact can vary wildly eg photos and videos hardly compress at all and can even be bigger after compress. For many users, this is the bulk of data storage.

    The biggest benefit on small devices is to use COMPACTOS

    https://www.tenforums.com/tutorials/2...dows-10-a.html
      My Computer


  7. Posts : 66
    Windows 10 Home
    Thread Starter
       #7

    I totally agree with you guys especially i know these can't compress images and videos (Media files)
    but in term of gaming i can surely have much space i need after compressing them and thanks for the cmd help..

    I really appreciate it...

    :)
      My Computer


  8. Posts : 68,894
    64-bit Windows 11 Pro for Workstations
       #8

    I'm glad we could help. :)
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:11.
Find Us




Windows 10 Forums