I don't know of any seamless way to do it. You either do a lot of P/Invokes 
with add-type (check out pinvoke.net) or you use the legacy binaries. I would 
use the legacy binaries.

From: [email protected] [mailto:[email protected]] On 
Behalf Of James Rankin
Sent: Wednesday, October 16, 2013 4:36 PM
To: [email protected]
Subject: [NTSysADM] Re: FTAs

Just a quick bump before I continue down the external route...

On 16 October 2013 11:37, James Rankin 
<[email protected]<mailto:[email protected]>> wrote:
Can you set file type associations in PowerShell?

I'm looking currently at calling out to FTYPE and ASSOC, but this feels kind of 
clunky...

TIA,



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk



--
James Rankin
Technical Consultant (ACA, CCA, MCTS)
http://appsensebigot.blogspot.co.uk

Reply via email to