2019-08-09 13:36:52 -07:00

3.7 KiB

title, description, author, ms.assetid, ms.reviewer, manager, ms.author, ms.pagetype, ms.mktglfcycl, ms.sitesec, ms.prod, ms.date
title description author ms.assetid ms.reviewer manager ms.author ms.pagetype ms.mktglfcycl ms.sitesec ms.prod ms.date
ADD TYPE ADD TYPE dansimp 8f1d3978-9977-4851-9f46-fee6aefa3535 dansimp dansimp mdop, appcompat, virtualization deploy library w10 06/16/2016

ADD TYPE

Adds the specified file type association.

SFTMIME ADD TYPE:file-extension /APP application [/ICON icon-pathname] [/DESCRIPTION type-desc] [/CONTENT-TYPE content-type] [/GLOBAL] [/PERCEIVED-TYPE perceived-type] [/PROGID progid] [/CONFIRMOPEN {YES|NO}] [/SHOWEXT {YES|NO}] [/NEWMENU {YES|NO}] [/LOG log-pathname | /CONSOLE | /GUI]

Parameter Description

TYPE:<file-extension>

The file name extension that will be associated with the application specified.

/APP <application>

The name and version (optional) of the application.

/ICON <icon-pathname>

The path or URL for the icon file.

/DESCRIPTION <type-desc>

The user-friendly name for the file type. Defaults to "EXTENSION File."

/CONTENT-TYPE <content-type>

The content type of the file. Defaults to "application/softricity-extension."

/GLOBAL

If present, the package will be available for all users on this computer.

/PERCEIVED-TYPE <perceived-type>

The perceived type of the file. Defaults to nothing.

/PROGID <progid>

The programmatic identifier for the file type. Defaults to App Virt.extension.File.

/CONFIRMOPEN

Indicates whether users downloading a file of this type should be asked whether to open or save the file. Defaults to YES.

/SHOWEXT

Indicates whether the file's extension should always be shown, even if the user has requested that all extensions be hidden. Defaults to NO.

/NEWMENU

Indicates whether an entry should be added to the shell's New menu. Defaults to NO.

/LOG

If specified, output is logged to the specified path name.

/CONSOLE

If specified, output is presented in the active console window (default).

/GUI

If specified, output is presented in a Windows dialog box.

 

For version 4.6, the following option has been added.

/LOGU

If specified, output is logged to the specified path name in UNICODE format.

 

SFTMIME Command Reference