Don't know if this helps (in a round about way) - but can you do it using the 
assoc and ftype commands via Powershell and cmd /c syntax  ?


[PS] 2014-04-01 14:30:19> cmd /c assoc .doc
.doc=Word.Document.8

[PS] 2014-04-01 14:34:09> cmd /c ftype word.document.8
word.document.8="C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE" 
/n "%1" /o "%u"

Webpage example - http://technet.microsoft.com/en-us/magazine/ff687021.aspx

Don K


From: [email protected] [mailto:[email protected]] On 
Behalf Of James Rankin
Sent: Tuesday, April 1, 2014 2:16 PM
To: [email protected]
Subject: [NTSysADM] PowerShell cmdlet

Is there a PowerShell cmdlet that controls file type associations? I'm thinking 
not, but just checking in case I've missed something....



--
James Rankin
---------------------
RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization 
Practice Analyst - Desktop Virtualization
http://appsensebigot.blogspot.co.uk

Reply via email to