devxlogo

Detecting Microsoft Video for Windows

Detecting Microsoft Video for Windows

Question:
I need to inquire if Video for Windows has been installed beforeattempting to play an AVI file. How can I do this?

Answer:
All versions of Windows keep track of “file associations”. These are the things that make it so when you double-click a “doc” file you fire up Word or a “txt” file fires up Notepad. I’m not familiar with Video for Windows but I’m pretty sure it associates itself with the “avi” extension.Check through the WIN.INI file (for Windows 3.x) or the registry (for Windows ’95 or NT 4.0) to look for the “Associations” section. Look for the “avi” association. If you don’t find it, it’s an automatic “no”. If you find it, look what it’s associated with. If it’s Video for Windows, it’s a “yes”, if not, a “no”.

See also  Comparing different methods of testing your Infrastructure-as-Code
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist