Ftype

{{Short description|Windows command}}

{{lowercase}}

__NOTOC__

{{Infobox Software

| name = ftype

| logo =

| screenshot =

| screenshot size =

| caption =

| developer = Microsoft

| released = {{Start date and age|1996|08|24}}

| latest release version =

| latest release date =

| operating system = Microsoft Windows

| genre = Command

| license = Proprietary commercial software

| website = {{URL|https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ftype}}

}}

In computing, ftype is a command-line utility on Microsoft Windows that is used to display or change the link between a file type and an executable program.{{Cite web|url=https://www.computerhope.com/ftype.htm|title=MS-DOS and Windows command line ftype command|website=www.computerhope.com}}

Overview

The ftype command was introduced as a shell builtin to cmd.exe with the release of Windows NT 4.0. It lists all Registry keys in HKEY CLASSES ROOT which contain the {{mono|shell\open\command}} subkey, and prints out the REG SZ contents of the {{mono|(default)}} value within these keys. Since it is an internal command built into cmd.exe, there is no FTYPE.EXE.

Because {{mono|(default)}} values in {{mono|HKEY_CLASSES_ROOT\\shell\open\command}} contain information on how to open file types with registered extensions, this command essentially lists all registered file types, and which executables are used to open them, along with any switches used by the executable.{{Cite web|url=https://technet.microsoft.com/en-us/library/bb490912.aspx|title=Ftype}}

Multiple file extensions can be associated with the same file type and several file types can be linked to the same executable application.{{Cite web|url=https://ss64.com/nt/ftype.html|title=Ftype - File type - Windows CMD - SS64.com|website=ss64.com}}

See also

References

{{Reflist}}

Further reading

  • {{Cite book|author-last=Hill|author-first=Tim|title=Windows NT Shell Scripting|date=1998|publisher=Macmillan Technical Publishing|isbn=978-1578700479|url-access=registration|url=https://archive.org/details/windowsntshellsc0000hill}}
  • {{Cite book|first=Æleen|last=Frisch|year=2001|title=Windows 2000 Commands Pocket Reference|publisher=O'Reilly|isbn=978-0-596-00148-3}}
  • {{Cite book|author=John Paul Mueller|year=2007|title=Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000|publisher=John Wiley & Sons|isbn=978-0470165799}}