ASSOC's Examples

This is one of the most basic and most common commands. It helps to associate (as the name suggests) some file extensions to some programs. For Example- When we click on .doc (extension), the computer is able to decide that it needs to associate it with Microsoft Word. The screenshot below shows an example of how this command works.

assoc [.ext[=[fileType]]]