Skip to main content

2024 年 12 月 6 日

FileTypes Parameter

The FileTypes parameter lists file extensions that the thinreg.exe utility associates with an executable file.

The capture process generates initial values that you cannot add to. You can remove extensions that you do not want to associate with the virtual package. Do not use separators between the file extensions in the list.

Removing a File Extension From a Package to Ensure That it is Opened By a Version of the Application in the Physical Environment

A Microsoft Word 2007 package specifies .doc.docx as the values of the FileTypes parameter. If you capture Microsoft Office 2007 and have Microsoft Office 2003 installed in the physical environment, you can remove the .doc extension from the FileTypes parameter and leave the .docx extension to ensure that Microsoft Word 2003 opens .doc files and Microsoft Word 2007 opens .docx files.

[Microsoft Office Word 2007.exe]
FileTypes=.docx

Creating File Type Extensions and Linking Them to An Application

The capture process can create file type associations for .doc and .dot extensions and link them to Microsoft Word.

[Microsoft Office Word 2003.exe]
ReadOnlyData=bin\Package.ro.tvr
Source=%ProgramFilesDir%\Microsoft Office\OFFICE11\WINWORD.EXE
FileTypes=.doc.dot

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…