Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[Enhancement] Function to associate file extensions with installed executables #146

Merged
merged 1 commit into from Sep 13, 2012

Conversation

mwrock
Copy link
Contributor

@mwrock mwrock commented Sep 3, 2012

This will elevate to admin and associate a file extension with a executable.

Usage Install-ChocolateyFileAssociation -extension -executable

  • The executable must exist.
  • If there is no preceeding '.' in the extension, one will be added
  • If only '.' is entered as the extension then the executable will be associated with all UNassociated file types.
  • The executable will be invoked as "%1" "%" %1 will be the associated file and % will be all/any arguments.

@mwrock mwrock merged commit c1c008e into chocolatey-archive:master Sep 13, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant