Without txt, save the following code as. Reg and import the registry key.
Regedit4
[Hkey_classes_root \. txt]
@ = "Txtfile"
"Perceivedtype" = "text"
"Content type" = "text/plain"
[Hkey_classes_root \. txt \ shellnew]
"Nullfile" = ""
No word or Excel. Same as above, the Code is as follows:
Windows Registry Editor Version 5.00
[Hkey_classes_root \. Doc]
@ = "Word. document.8"
"Content type" = "application/MSWord"
[Hkey_classes_root \. Doc \ openwithlist]
[Hkey_classes_root \. Doc \ openwithlist \ wordpad.exe]
@ = ""
[Hkey_classes_root \. Doc \ persistenthandler]
@ = "{98de59a0-d175-11cd-a7bd-4256b827d94 }"
[Hkey_classes_root \. Doc \ shellnew]
[Hkey_classes_root \. Doc \ word. document.6]
[Hkey_classes_root \. Doc \ word. document.6 \ shellnew]
"FILENAME" = "winword.doc"
[Hkey_classes_root \. Doc \ word. document.8]
[Hkey_classes_root \. Doc \ word. document.8 \ shellnew]
"FILENAME" = "winword8.doc"
[Hkey_classes_root \. Doc \ worddocument]
[Hkey_classes_root \. Doc \ worddocument \ shellnew]
"FILENAME" = "winword2.doc"
[Hkey_classes_root \. Doc \ wordpad. document.1]
[Hkey_classes_root \. Doc \ wordpad. document.1 \ shellnew]
"Nullfile" = ""
[Hkey_classes_root \. xls]
"Content type" = "application/vnd. MS-excel"
@ = "Excel. sheet.8"
[Hkey_classes_root \. xls \ excel. sheet.5]
[Hkey_classes_root \. xls \ excel. sheet.5 \ shellnew]
"FILENAME" = "excel.xls"
[Hkey_classes_root \. xls \ excel. sheet.8]
@ = ""
[Hkey_classes_root \. xls \ excel. sheet.8 \ shellnew]
"FILENAME" = "excel9.xls"
[Hkey_classes_root \. xls \ excelworksheet]
[Hkey_classes_root \. xls \ excelworksheet \ shellnew]
"FILENAME" = "excel4.xls"
[Hkey_classes_root \. xls \ persistenthandler]
@ = "{98de59a0-d175-11cd-a7bd-4256b827d94 }"