WinRAR command to create individual rar files within a folder

I have a folder then sub folders that looks something like this:

Documents (Folder)
-Matt(SubFolder)
-John(SubFolder)
-Mike(Subfolder)
- 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
HCCI_ITAsked:
Who is Participating?
 
BarsMonsterCommented:
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

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.