Ftype

Windows command


ftype
Developer(s)Microsoft
Initial releaseAugust 24, 1996; 27 years ago (1996-08-24)
Operating systemMicrosoft Windows
TypeCommand
LicenseProprietary commercial software
Websitedocs.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.[1]

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 shell\open\command subkey, and prints out the REG SZ contents of the (default) value within these keys. Since it is an internal command built into cmd.exe, there is no FTYPE.EXE.

Because (default) values in HKEY_CLASSES_ROOT\<keyname>\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.[2]

Multiple file extensions can be associated with the same file type and several file types can be linked to the same executable application.[3]

See also

References

  1. ^ "MS-DOS and Windows command line ftype command". www.computerhope.com.
  2. ^ "Ftype".
  3. ^ "Ftype - File type - Windows CMD - SS64.com". ss64.com.

Further reading

  • Hill, Tim (1998). Windows NT Shell Scripting. Macmillan Technical Publishing. ISBN 978-1578700479.
  • Frisch, Æleen (2001). Windows 2000 Commands Pocket Reference. O'Reilly. ISBN 978-0-596-00148-3.
  • John Paul Mueller (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. John Wiley & Sons. ISBN 978-0470165799.

External links

Wikibooks has a book on the topic of: Guide to Windows Commands
  • ftype | Microsoft Docs
  • v
  • t
  • e
File system navigation
File management
Archiving
  • expand
  • extrac32
  • extract
  • makecab
  • pax
  • tar
Disk managementProcesses
RegistryUser environment
File contents
Scripting
NetworkingMaintenance and careBoot managementSoftware development
Miscellaneous
Stub icon

This Microsoft Windows article is a stub. You can help Wikipedia by expanding it.

  • v
  • t
  • e