Skip to main content
OCLC Support

How to remove file associations in Windows using Assoc

Symptom
  • The Connexion client export file shows an icon for Adobe PDF, Microsoft Word, Notepad, or some other program.
Applies to
  • Connexion client
Resolution

Typically the Connexion client export file is not associated with any particular program.  Under some circumstances it will get associated with Notepad, Adobe PDF, or some other program.

Windows 7, 8/8.1, and 10 have a built-in command line utility called Assoc which can change file associations.  Here’s how to delete a file type association:

The following steps require admin privileges and may require your IT department's assistance.

  1. Run an administrator command prompt by typing cmd into Start and pressing Ctrl+Shift+Enter.
  2. To first check the file extension’s current association, add the extension to the command.  Assoc .dat (including the dot) and press Enter.
  3. Type the following to remove the file association: assoc .dat= and press Enter.
  4. The command effectively sets the association to nothing which deletes it.  There is no success message.  To verify it worked, repeat step 2, it should say “File association not found for extension .dat”.
  5. Type exit to close the command prompt window.
  6. To finish clearing the association, reboot the computer.
  7. After the reboot, the icon associated with the export file should be gone.  Try double-clicking the export file.  Windows should say there is no program associated and offer to associate something.  Click Cancel.

Page ID

18780