Page 1 of 1

Multiple files on command line

Posted: Mon Mar 13, 2023 6:13 pm
by GDFrank
Have enabled "Allow multiple files"

Yet when I pass 1 or more files on the command line ... New Document is created ... weather "Start with new document is enabled OR disabled.

File paths are quoted with a space between.

How can TextPad be loaded without having the undesired "New Document" being created.

Re: Multiple files on command line

Posted: Mon Mar 13, 2023 7:27 pm
by bbadmin
The only way I can reproduce this is to include an empty string anywhere in the command line, such as this:

Code: Select all

%ProgramFiles%\TextPad\TextPad.exe "file 1" "file 2" ""
Note that the file names only have to be quoted if they contain spaces.