TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6572
Posted: 05:21am 24 Apr 2023
As usual, I have been slack with the documentation. There is a batch file called runhere.bat in the program folder. Depending on the mood of Windows and the program being called, using this instead of calling the external program directly sets the startup folder correctly.
ruhere.bat
rem run external program. cd %1 %2 %3 rem alternative option rem start "" %2 %3
All it does is change directories before running. Supplying the batch file makes taming external programs less prone to throwing things at the computer.
File association works properly without the need for any funny business with V5.