Setting Windowed/Fullscreen

Hi,
how can i set the Game to Fullscreen/Borderless/Windowed via the execute console command function?
or how do i do it if it isnt possible that way?

Execute Console Command r.setRes 1920x1080f (or 1920x1080w for windowed) and r.FullscreenMode 1 or 2 (Windowed and true Fullscreen)
You need(!) start the game in Stand Alone Mode (be sure you have a Quit-Game-Key / Function included…because ESC dont work anymore like before)

Thank you