axelseaa Posted August 12, 2008 Posted August 12, 2008 I am looking for a scripted way to set file type associations. Commonly our media files get changes due to software upgrades and such - and it would be nice to just run a script to fix things.I have found informatino about the assoc and ftype commands, but when trying to change a wmv file to play back in VLC instead of windows media player it does not work correctly. Does anyone have any ideas? Thanks!
ajua Posted August 13, 2008 Posted August 13, 2008 A good and fast solution is to export the registry information on the files you want to associate with a program. Given that you already have them associated.Then, if you are using this reg files in unattended installations, import them at the very end. However, there are "rogue" programs that will try to re-associate files with them at first launch. A really bad practice if you ask me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now