Multiple files on command line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
GDFrank
Posts: 4
Joined: Mon May 28, 2012 6:36 pm

Multiple files on command line

Post 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.
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: Multiple files on command line

Post 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.
Post Reply