If used without parameters, ftype displays the file types that have open command strings =PerlScript ftype PerlScript= %1 %*. FTYPE FTYPE fileType FTYPE fileType= Key fileType: The type of file If you have multiple applications that use the same file extension, the ASSOC command. In computing, ftype is a command-line utility on Microsoft Windows which lists all Registry keys Registry. assoc; ftype; reg · regini · regsvr User environment. date · mode · path · set · setx · time · title · ver · whoami. File contents. comp · edit · edlin · fc · find.

Author: Kazralmaran Kazraktilar
Country: Saint Lucia
Language: English (Spanish)
Genre: Environment
Published (Last): 13 September 2011
Pages: 140
PDF File Size: 9.59 Mb
ePub File Size: 1.84 Mb
ISBN: 754-7-36794-118-2
Downloads: 51187
Price: Free* [*Free Regsitration Required]
Uploader: Mushura

This tool is very useful for managing the relationship or association between file extensions and file types. For example, to see what file type is associated with. To delete the file type association for the file name extension. As an example, to associate the extension. For example, the file type “jpegfile” typically has both the extensions. Also note that it is possible to create your own ftye extensions and to associate them with a filetype.


You can also enter. As previously mentioned, each file type has a set of operations and corresponding software associated with it.

In particular, all active file types have an action named “Open” that asssoc the default action.

ftype – Wikipedia

Gtype is the action that is invoked when you double-click a file with an extension associated with the file type. There may also be other actions listed in the Context Menu but ftype deals with “Open”.

The “Open” action is defined by a string that includes the fully qualified path to the executable file that is to carry out the action and any parameters that must be passed to the executable. Entering the bare command “ftype” will list all of the current file types that have the open command strings defined and the corresponding command string.

It can be quite a long list so it is best to redirect to a file or to pipe to the “more” command. Having the list can be convenient as a record of what programs are being used to open various files.

If a particular file type is specified, then the command string for that file type will be displayed.


This is necessary because the full command for the open action requires the name of the file that is to be opened. This command is useful when you ftpe to see what program opens a particular file type.

Using the Windows Commands FTYPE and ASSOC to Solve Content Redirection Problems

Ftypee example is for illustration only. Note the use of quotation marks to enclose a path with spaces in it. While changing program associations may be easier using the Windows Explorer Tools-Folder Options dialog no typing requiredthe command line method can also be useful, especially in batch files.

Introduction to Asslc files Branching and Looping with “If: Shell command Vista command list Vista command line tips. Windows comes with several command-line tools for file management.

The features and applications of Assoc and Ftype are discussed.