diff --git a/scripts/set-filetypes.cmd b/scripts/set-filetypes.cmd index e440bba..463780f 100644 --- a/scripts/set-filetypes.cmd +++ b/scripts/set-filetypes.cmd @@ -24,16 +24,20 @@ call :SFTA set AKA=Presentations set BINARY="%PROGRAMFILES%\Softmaker Office 2021\Presentations.exe" +if NOT exist %BINARY% set BINARY="%PROGRAMFILES%\Softmaker Office 2024\Presentations.exe" + set SUFFIX=prdx prsx prvx ppt pptx potx pot ppsx pps prd prv call :SFTA set AKA=PlanMaker set BINARY="%PROGRAMFILES%\Softmaker Office 2021\Planmaker.exe" +if NOT exist %BINARY% set BINARY="%PROGRAMFILES%\Softmaker Office 2024\Planmaker.exe" set SUFFIX=pmd pmdx pmv pmvx xls xlsx xlsm xlt xltx xltm call :SFTA set AKA=TextMaker set BINARY="%PROGRAMFILES%\Softmaker Office 2021\Textmaker.exe" +if NOT exist %BINARY% set BINARY="%PROGRAMFILES%\Softmaker Office 2024\Textmaker.exe" set SUFFIX=doc docx dot dotx odt tmd tmdx tmv tmvx rtf psw pwd call :SFTA