set filetypes for Office

This commit is contained in:
Michael H.G. Schmidt 2024-09-10 23:26:49 +02:00
parent e516f848f0
commit c994888646
2 changed files with 21 additions and 6 deletions

View File

@ -49,8 +49,8 @@ del /F /Q /A %STARTMENU%\"Microsoft Office\Office Upload Center.lnk" 2>nul
echo ####### %0 #######
rem set filetypes ...
rem if EXIST ..\scripts\set-filetypes.cmd (
rem call ..\scripts\set-filetypes.cmd
rem )
if EXIST ..\scripts\set-filetypes.cmd (
call ..\scripts\set-filetypes.cmd
)
pause

View File

@ -26,21 +26,36 @@ set AKA=Presentations
set BINARY="%PROGRAMFILES%\Softmaker Office 2021\Presentations.exe"
if NOT exist %BINARY% set BINARY="%PROGRAMFILES%\Softmaker Office 2024\Presentations.exe"
if NOT exist %BINARY% set BINARY="%PROGRAMFILES(x86)%\Softmaker FreeOffice 2021\Presentations.exe"
set SUFFIX=prdx prsx prvx ppt pptx potx pot ppsx pps prd prv
set SUFFIX=prdx prsx prvx 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"
if NOT exist %BINARY% set BINARY="%PROGRAMFILES(x86)%\Softmaker FreeOffice 2021\Planmaker.exe"
set SUFFIX=pmd pmdx pmv pmvx xls xlsx xlsm xlt xltx xltm
set SUFFIX=pmd pmdx pmv pmvx
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"
if NOT exist %BINARY% set BINARY="%PROGRAMFILES(x86)%\Softmaker FreeOffice 2021\Textmaker.exe"
set SUFFIX=doc docx dot dotx odt tmd tmdx tmv tmvx rtf psw pwd
set SUFFIX=doc docx dot dotx odt
call :SFTA
set AKA=Powerpoint
set BINARY="%PROGRAMFILES%\Microsoft Office\root\Office16\powerpnt.exe"
set SUFFIX=pptx pptm ppt potx potm pot ppsx ppsm pps ppam ppa odp
call :SFTA
set AKA=Excel
set BINARY="%PROGRAMFILES%\Microsoft Office\root\Office16\excel.exe"
set SUFFIX=xls xlsx xlsm xlsb xlt xltx xltm xlam xla ods
call :SFTA
set AKA=Word
set BINARY="%PROGRAMFILES%\Microsoft Office\root\Office16\winword.exe"
set SUFFIX=doc docx docm dot dotx dotm odt rtf
call :SFTA
set AKA=PureBasic