WinRAR command to create individual rar files within a folder

Posted on 2008-11-11
Last Modified: 2013-12-01
I have a folder then sub folders that looks something like this:

Documents (Folder)
- etc...

I would like Winrar to look at the Documents folder and create individual rar files for each sub folder (for instance, Matt.rar, John.rar, Mike.rar, etc..)

The Documents folder itself does not need to be rar-ed.

Your help is appreciated
Question by:HCCI_IT
    1 Comment
    LVL 5

    Accepted Solution

    There is no built in function for that, but you can create windows bat file using FOR loop like this:

    FOR /D /r %%G in ("*.*") DO Echo ***Found folder: %%G

    Except Echo you may put rar command you like


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now