View Issue Details

IDProjectCategoryView StatusLast Update
0018668MMW 5Install/Configpublic2021-12-18 01:57
Reporterrusty Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.0.2 
Target Version5.0.2 
Summary0018668: Restart.bat can launch in a text editor on some systems
DescriptionIn some cases, when MM tries to restart (e.g. on Restore from Backup), it'll launch restart.bat in a text editor.

It's not normally possible via Windows 'Settings > File Associations' to associate 'Open'ing .bat files with an editor, but Notepad++ has a function that, in Administrator mode, edits the registry to do this.

Although this is fairly non-standard, if there are other apps that do this, it may be preferable to use an exe to restart MM instead.

TagsNo tags attached.
Fixed in build

Activities

rusty

2021-12-13 17:14

administrator   ~0066375

Other possible approaches are:
- A shortcut that includes command line arguments
- Adding comments to the .bat file

drakinite

2021-12-18 01:57

developer   ~0066415

Alternatively, perhaps it's possible to call:
C:\Windows\system32\cmd.exe .\restart.bat
instead of treating restart.bat as an executable? Or would that cause a command window to be visible for a short while?