Page 1 of 1

How to make File Explorer open files in new instances of TextPad

Posted: Mon Aug 14, 2023 10:36 am
by bbadmin
Update for TextPad 9.7.0 and 8.21.0:

This can now be controlled with this option on the Preferences dialog box:

2025-01-17.png
2025-01-17.png (30.14 KiB) Viewed 8508 times

For earlier releases:

TextPad's installer creates registry entries which are used by File Explorer to open files in a single instance of TextPad. This behaviour can be changed by extracting "textpad9-multi-inst.reg" from the attached zip file and double clicking it in File Explorer.

To revert to the default behaviour, do the same with "textpad9-single-inst.reg".

These files are for version 9. The zip also contains similar files for version 8.

Notes:

1. The default will be reset each time a new release of TextPad is installed.
2. Making these changes to the registry requires administrator rights.

Re: How to make File Explorer open files in new instances of TextPad

Posted: Wed Sep 06, 2023 1:16 am
by GeorgeG
This registry change fixed one of the issues I was going to report - opening in same instance. However, it did not fix the other one:

Previous versions of TextPad added an entry to File Manager' right click an entry "Open with TextPad Instance ...", which is now missing. Although seldom used (at some point I even considered it a bloat to the menu), it has its use, and would be nice to have it back (even with a registry hack).

Regards,
George

Re: How to make File Explorer open files in new instances of TextPad

Posted: Thu Sep 07, 2023 4:01 pm
by bbadmin
That's a configuration option. You can set it using Configure » Preferences » General » Put shortcut on context menu.

Note that when that option is set, File Explorer locks ShellExt64.dll in the system folder of TextPad's installation folder, so it will entail a reboot after any updates to TextPad. Alternatively, unset that option before updating.

Re: How to make File Explorer open files in new instances of TextPad

Posted: Fri Jan 17, 2025 1:47 pm
by bbadmin
See the first post in this thread for an update on TextPad 9.7.0 and 8.21.0