MMEdit V 5.1


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6572
Posted: 05:21am 24 Apr 2023      

  Turbo46 said  Hi Jim,
Unless I've missed it somehow, there doesn't seem to be an explanation of the "Use batch file" option. I remember that with the previous version a batch file was used to associate the BASIC files with. Is that what this is for?

Bill


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.

Jim