Create new test file (Unicode vs DOS Text)

Hi,
I have the following Context Menu item :

@nofilenamequoting @set fn={dlgstringS|Enter new file name (extension will be .txt)|New Textfile} FileType NEW=.txt NEWNAME="norename:{$fn}" Select PATTERN="{$newfile}" DESELECTNOMATCH
Which creates a blank .txt file in Unicode format, unfortunately I create some files for Avisynth filters, and there (for some reason) the file has to be in the DOS Text format (CR+LF)

Does anyone know if DO is able (via some option or so) to force it to create a DOS Text Format .txt file instead of the default Unicode ?

Thanks a bunch ! :slight_smile:

Just create an empty file in the format you want and put it somewhere, then make the button copy that file to create the new ones.

I guess you're using an editor which auto-detects the EOL format based on the existing files so the "empty" file should just have a return in it. (Normally empty text files are completely empty which would make the editor use its default format.)