Start cmd.exe / Terminal with parameter

What’s the easiest way to start cmd.exe on Windows or Terminal on Mac with a directory as parameter?

Do you mean you want to open a command prompt window and point it to a particular directory to start in? If so then you can do the following for windows:
%windir%\system32\cmd.exe /K "cd c:\"

Change c:\ for whatever starting path you want