bugGNU Octave - Bugs: bug #47696, Can't set Octave as default app...

 
 

bug #47696: Can't set Octave as default app for .m files on Windows 10

Submitter:  None
Submitted:  Thu 14 Apr 2016 05:36:38 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Assigned to:  None
Originator Name:  Frank Quick Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 12 May 2021 04:46:00 PM UTC, comment #6: 

Setting the .m type to open in octave is already a part of the installer.

John Donoghue <lostbard>
Group Member
Wed 12 May 2021 03:19:52 PM UTC, comment #5: 

comment #3:

> This works for me on Windows 10 with Octave 4.0.1 (instructions e.g. [1]). You have to select "Microsoft Windows Based Script Host" for .m files. Check whether the description changes to "GNU Octave Script".
>
> If this is not working for you: Did you use the installer or the zip-dist? Maybe this is something the installer registers? Try to re-install using the installer.exe from here [2].
>
> However, a new Octave instance is opened each time I double-click a .m file.
>
>
> [1] http://www.cnet.com/how-to/how-to-set-default-programs-in-windows-10/
> [2] https://ftp.gnu.org/gnu/octave/windows/


comment #3:

> This works for me on Windows 10 with Octave 4.0.1 (instructions e.g. [1]). You have to select "Microsoft Windows Based Script Host" for .m files. Check whether the description changes to "GNU Octave Script".
>
> If this is not working for you: Did you use the installer or the zip-dist? Maybe this is something the installer registers? Try to re-install using the installer.exe from here [2].
>
> However, a new Octave instance is opened each time I double-click a .m file.
>
>
> [1] http://www.cnet.com/how-to/how-to-set-default-programs-in-windows-10/
> [2] https://ftp.gnu.org/gnu/octave/windows/

surendran <surendran47>
Fri 15 Apr 2016 03:32:36 PM UTC, comment #4: 

I reinstalled 4.0.1 using the same installer as the first installation. Afterward the script host option appeared in the open with dialog, and selecting it has corrected the issue. (I don't think the option was present before the reinstall. May have resulted from uninstalling 4.0.0.) I must say that selecting this option as the default program is hardly obvious, and I think it ought to be offered as an step during installation. I leave it to the community to decide whether to pursue this any further.

BTW the opening of a new Octave instance on each double-click was also the behavior in 4.0.0.

Frank Quick <rfquickjr>
Fri 15 Apr 2016 08:58:07 AM UTC, comment #3: 

This works for me on Windows 10 with Octave 4.0.1 (instructions e.g. [1]). You have to select "Microsoft Windows Based Script Host" for .m files. Check whether the description changes to "GNU Octave Script".

If this is not working for you: Did you use the installer or the zip-dist? Maybe this is something the installer registers? Try to re-install using the installer.exe from here [2].

However, a new Octave instance is opened each time I double-click a .m file.


[1] http://www.cnet.com/how-to/how-to-set-default-programs-in-windows-10/
[2] https://ftp.gnu.org/gnu/octave/windows/

Markus Mützel <mmuetzel>
Group administrator
Fri 15 Apr 2016 12:50:37 AM UTC, comment #2: 

Thanks for the reply. The stackoverflow post is interesting but doesn't seem to address the issue.

I want to be able to just double-click on a .m file and have it be opened in Octave. Used to work in Windows 7 with Octave 4.0.0.


Frank Quick <rfquickjr>
Fri 15 Apr 2016 12:09:58 AM UTC, comment #1: 

I'm not sure if it is related, but I found this suggestion on running .vbs scripts in Windows 10.

http://stackoverflow.com/questions/32194129/vbscript-to-open-an-excel-file-in-windows-10-via-task-scheduler

Frank, does that help?

Lachlan Andrew <lachlan>
Thu 14 Apr 2016 05:36:38 PM UTC, original submission:  

This is more a nuisance than a bug; but it does not seem possible to set Octave as the default app for .m files in Windows 10. E.G., the Octave icon points to octave.vbs but it seems Windows will not set a file of this type as the default to open a file. This is something that could be done on Windows 7 in Octave 4.0.0, and it would be convenient to get it back.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by surendran47 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by rfquickjr (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-12 mtmiller Carbon-CopyRemoved 80942 -
    2016-04-15 mtmiller StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code