Author Topic: Open multiple files in one instance  (Read 148 times)

sandbox

  • Junior Community Member
  • Posts: 8
  • Hero Points: 0
Open multiple files in one instance
« on: June 15, 2022, 08:44:06 am »
I select a number of txt files in Windows Explorer and select 'Open' in the context menu, each file opens in it's own instance of SlickEdit. I want all files to open in the same instance. Is this possible?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6297
  • Hero Points: 485
Re: Open multiple files in one instance
« Reply #1 on: June 15, 2022, 12:23:06 pm »
If you open the files one at a time, do they open in the same SlickEdit instance?

sandbox

  • Junior Community Member
  • Posts: 8
  • Hero Points: 0
Re: Open multiple files in one instance
« Reply #2 on: June 16, 2022, 08:32:19 am »
Yes. Also, if I use the 'Send To' context menu item to open multiple files they all open in the same instance. It's only when I use the 'Open' menu item it opens one instance per file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6297
  • Hero Points: 485
Re: Open multiple files in one instance
« Reply #3 on: June 16, 2022, 12:51:35 pm »
This is a limitation with v20. This is a race condition which is handled better by v21. You can simulate this by writing a batch file which invokes SlickEdit twice with two different files.

sandbox

  • Junior Community Member
  • Posts: 8
  • Hero Points: 0
Re: Open multiple files in one instance
« Reply #4 on: June 16, 2022, 01:23:10 pm »
Thank you for the reply, it's not a major issue and something I can live with.