Close multiple Folders concurrently My computer opens many folders through obscure codes.
Instead of closing them one by one, I tried to force quit Finder.

However, there's only relauch option.


After relaunching, those folders still exist. 

How to resolve such a problem?
Cmd ⌘   Opt ⌥   W  will close all windows.