reg add "HKLM\SOFTWARE\Classes\Excel.Sheet.12\shell\open\command" /f /ve /t REG_SZ /d "\"%~dp0EXCEL.EXE\" /e"
reg add "HKLM\SOFTWARE\Classes\Excel.Sheet.8\shell\open\command" /f /ve /t REG_SZ /d "\"%~dp0EXCEL.EXE\" /e"
reg add "HKLM\SOFTWARE\Classes\PowerPoint.Show.12\shell\open\command" /f /ve /t REG_SZ /d "\"%~dp0POWERPNT.EXE\" \"%%1\""
reg add "HKLM\SOFTWARE\Classes\PowerPoint.Show.8\shell\open\command" /f /ve /t REG_SZ /d "\"%~dp0POWERPNT.EXE\" \"%%1\""
reg add "HKLM\SOFTWARE\Classes\Word.Document.12\shell\Open\command" /f /ve /t REG_SZ /d "\"%~dp0WINWORD.EXE\" /dde"
reg add "HKLM\SOFTWARE\Classes\Word.Document.8\shell\Open\command" /f /ve /t REG_SZ /d "\"%~dp0WINWORD.EXE\" /dde"
