How to open all contents of a folder via command line?

It looks like you are doing that already: