Error when trying to install 4.22 ( "Maximum Path length exceeded, please specify a shorter install location". )

This is not really the place for help with basic operating system procedures, nor is there one ‘right way’ to do it anyway.

I suggest doing a search for creating directories (aka folders) in your favourite search engine, based on what ever OS you’re using, and go from there.