Quickly Make a Bz2 of All Files

Discussion in 'Tutorials' started by Mun, Oct 30, 2015.

  1. Mun

    Mun Administrator

    Code:
    for %i IN (*.*) do "C:\Program Files\7-Zip\7z.exe" a "%i.bz2" "%i"
    
    for no extensions at end:
    Code:
    for %i IN (*.*) do "C:\Program Files\7-Zip\7z.exe" a "%~ni.bz2" "%i"
    
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice