# How to change the allowed formats in Import[…]? [closed]

I want to read data from files with an unusual extension with the Import function. However, the following message appears:

The data is well organized, when I rename the extension to ".dat" Mathematica reads it as expected. Can I change the allowed formats and include this ".data"?

• Use the second argument of Import to specify the format? – kglr Aug 4 at 19:24
• ... i.e., Import["proton"<>"Dauau1525-401.data", "Table"]? – kglr Aug 4 at 19:25
• Don't rely on Import auto-detecting the format. Specify the format explicitly (2nd argument of Import). – Szabolcs Aug 4 at 19:26

Use the second argument of Import to specify the format explicitly, e.g.,
Import["proton"<>"Dauau1525-401.data", "Table"]