Windows 8.x File type and URI associations model

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Windows 8.x File type and URI associations model

#1 Post by foxidrive » 05 Sep 2014 13:06

Some interesting changes in Windows 8 that I just noticed:

http://msdn.microsoft.com/en-us/library ... 85%29.aspx

File type and URI associations model
Platforms

Clients - Windows 8
Servers - Windows Server 2012

Description

The file type and URI association model has changed in Windows 8. Apps are no longer able to programmatically set themselves as the default handler for a file type or URI. Instead, now the user always controls what the default handler is for a file type or URI scheme.

Manifestation

How this change presents to the user depends upon how the app is designed, for example:

Many apps check to see if they are the default every time they run and, if they are not, they prompt the user to set them as default. However, because apps can no longer accurately query to determine which app is the default handler for a file type or URI scheme, neither of these operations works.

Many apps have a dialog box or menu built in or in their installer that specifies the file types for which the app should serve as the default. However, because apps can no longer programmatically set themselves as the default handler for a file type or URI scheme, this no longer works.

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Windows 8.x File type and URI associations model

#2 Post by penpen » 05 Sep 2014 13:36

:shock:
I always thought, that the commands ASSOC and FTYPE still exists in Windows 8?
The actual command description still lists them with "Applies To: Windows 8":
ASSOC: http://technet.microsoft.com/en-us/library/cc770920.aspx
FTYPE: http://technet.microsoft.com/en-us/library/cc771394.aspx

With their help it should be possible to set the file associations;
has MS limited these commands somehow?

penpen

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Windows 8.x File type and URI associations model

#3 Post by foxidrive » 05 Sep 2014 22:43

penpen wrote::shock:
the commands ASSOC and FTYPE still exists in Windows 8

has MS limited these commands somehow?


I dunno, but those commands have no message to say they are deprecated, in Win 8.1

Post Reply