Open a terminal and cd to the directory with the folders. Then run the following command:
for /f "tokens=* usebackq" %G in (dir /b /a:d "%cd%") do "c:\Program Files\7-Zip\7z.exe" a -r -tzip "%~G.zip" "%~G
Make sure you have 7z installed under default installation target. Otherwise it won’t find the 7z.exe.