Batch file conversion

 From:  Michael Gibson
2100.21 In reply to 2100.19 
Hi Micha, just one more note:

> The batch file should work per double click or? I get the error,
> that this line dosn't work.

The double-click on a .js from Windows file explorer does not work with MoI.

You could make it work that way if you want by changing the file association for .js files (to do this, right-click on one and pick the "Open with" menu item and then pick MoI.exe as the program to use, and check the "Always use the selected program to open this kind of file"). But I wouldn't really recommend that.

.js is a kind of common generic file extension meaning "JavaScript file" - MoI doesn't use a special purpose extension for script files, which maybe you are used to since Rhino uses a custom ".rvb" file extension I guess?

For MoI it is expected that you run MoI.exe and then pass it the name of the script file, rather than trying to launch the script file on its own independently.

I guess I could make a special extension for a "MoI script file", rather than the generic .js extension, but it is sort of nice to not add a whole bunch of customized file types if they are not necessary...

- Michael