I'm using following commands:
``` set file=foobar.txt
if not exist "%file%" ( type nul >> %file% )
start "" "C:\Program Files (x86)\Geany\bin\geany.exe" "%file%" ``` If I use `File->New` no empty file will be created, but one containing the configured line ending. Maybe that is the workaround ("hack") Geany actually is using to set the default.