I run three instance of Pegasus Mail on my office PC. One is run from a flash drive which I start manually. The other two are started from a batch file, LAN install of Pegasus Mail, two different users.
Until Win10, the last instance started was the instance recorded in the registry key HKEY_CURRENT_USER\Software\Pegasus Mail. Under Win10 this no longer happens reliably. I need control of this so that mailto links invoke the preferred instance. I have added a delay to the batch file that provides plenty of time for the first instance to be fully started before the second one starts but this hasn't helped. As a solution I'm wondering about executing a .reg file as the final step in the batch file. I've never created a .reg file nor executed one from a batch file so am looking for advice on what the .reg file would need to look like and thoughts on whether this is a good idea or not.
Edit: I'm embarrassed about ass_uming that the HKEY_CURRENT_USER\Software\Pegasus Mail registry key was incorrect. It's not. It reflects the last instance started yet mailto links invoke a different instance. Perhaps I'm wrong about the reg key being the point of reference for mailto links. Could be that it's only the point of reference for the installer. I check the reg entries associated with WSENDTO but they all contain the path to WSENDTO.EXE of the LAN install, as expected. Any thoughts on how to control which instance gets invoked by a mailto link would be greatly appreciated.
<p>I run three instance of Pegasus Mail on my office PC.&nbsp; One is run from a flash drive which I start manually.&nbsp; The other two are started from a batch file, LAN install of Pegasus Mail, two different users.</p><p>Until Win10, the last instance started&nbsp; was the instance recorded in the registry key HKEY_CURRENT_USER\Software\Pegasus Mail.&nbsp; Under Win10 this no longer happens reliably.&nbsp; I need control of this so that mailto links invoke the preferred instance.&nbsp; I have added a delay to the batch file that provides plenty of time for the first instance to be fully started before the second one starts but this hasn't helped.&nbsp; As a solution I'm wondering about executing a .reg file as the final step in the batch file.&nbsp; I've never created a .reg file nor executed one from a batch file so am looking for advice on what the .reg file would need to look like and thoughts on whether this is a good idea or not.</p><p>Edit:&nbsp; I'm embarrassed about ass_uming that the HKEY_CURRENT_USER\Software\Pegasus Mail registry key was incorrect.&nbsp; It's not.&nbsp; It reflects the last instance started yet mailto links invoke a different instance.&nbsp; Perhaps I'm wrong about the reg key being the point of reference for mailto links.&nbsp; Could be that it's only the point of reference for the installer.&nbsp; I check the reg entries associated with WSENDTO but they all contain the path to WSENDTO.EXE of the LAN install, as expected.&nbsp; Any thoughts on how to control which instance gets invoked by a mailto link would be greatly appreciated.</p><p>&nbsp;</p>