How to associate a file extension with a given file?

(Windows) You can edit a file type in Explorer (XP: Tools –> Folder options, Vista: Start –> Default Programs). But lets say you want to do it automatically and you have to set an additional parameter to the program you want to start (I have still not figured it out how to define such parameter under Vista). The easiest way is to create a file with *.reg extension that contains this script:


Red (cicstarter) – Schell command name
Blue (startf) – Action name
Brown (cicvlm.exe f=\”%1\”) – Application path (parameter inside f=)
Green (.cic) – File extension
You can manipulate the colored parts to feet your needs. Here is the script. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *