Pass filename to windows batch (.bat) script when double clicking so that it will run in octave
问题 I'm new in using batch scripts, and moderately experienced with octave. I have a lot of data files I examine with octave functions and I am trying to set up so that I can double click on files with a custom extension to directly open octave functions. Think "when I double click on this text file, it opens in notepad." To do this I've written a very basic .bat file and I've associated my .data files to open using this .bat file. The .bat file looks like this: C:\Octave\Octave-4.2.1\octave.vbs