Home : File Types : INF File

.INF File Extension

File Type 1Setup Information File

3.9 (55 Votes)
CategorySettings Files

What is an INF file?

An INF file is a plain text configuration file that defines what files are installed with a certain software program or update. It may also list the location of the files and the directories where the files are to be installed. INF files are used by the Windows operating system, or by the program or installer that includes the INF file.

More Information

INF files are similar to .INI files and are commonly used to install device drivers. They contain the driver name and location, driver version information, and registry information.

Unfortunately, INF files can become infected by viruses since they may autorun without any prompting. To be safe, you should not attempt to open them manually.

Open and view .INF files with File Viewer Plus.

Programs that open INF files

Included with OS
Updated 2/25/2019

File Type 2Inform Source Code File

DeveloperGraham Nelson
3.5 (2 Votes)
CategoryDeveloper Files

.INF File Association 2

An INF file contains Inform source code that can be compiled into an Interactive Fiction (IF) program by Inform, an IDE used to create IF programs. It stores plain text Inform source code (most often in the Inform 6 (I6) syntax), which includes rules and behaviors for how the program can be played as well as playable game objects. INF files were replaced by .NI files with the release of Inform 7.

More Information
Screenshot of a .inf file in Microsoft Visual Studio Code 1.51
INF file open in Microsoft Visual Studio Code 1.51

IF is like a literary video game. You can play through a narrative created by the author and can control characters with text commands and interact with the environment in the story. Inform is a free application that allows you to create and share custom IF stories that other users can experience.

INF files have been utilized through all of the versions of Inform to store source code that is compiled into a playable IF program. It is most notably used to contain I6 source code.

When compiling an INF file with Inform 6, the code will compile to a Z-machine .Z5 or .Z8 output file. If the program is less than 256 kilobytes, it compiles to the Z5 file and if the program is larger than 256 kilobytes, it compiles to the Z8 file.

How do I create an INF file?

You can create an INF file with any text editor. When you save the file, save it with the .inf file extension. You may need to instead save the file as a .TXT file, then manually change the .txt file extension to .inf.

How do I open an INF file?

You can open INF files with Inform 6 and Inform 7, then compile them to the appropriate output file to play the IF program.

Since INF files are saved in plain text, you can also open them with a plain text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (macOS), and edit them. Also, Microsoft Visual Studio Code (multiplatform) is a useful source code editor that includes helpful syntax editing capabilities for viewing and editing INF files.

Programs that open INF files

Updated 11/20/2020

About INF Files

Our goal is to help you understand what a file with a *.inf suffix is and how to open it.

All file types, file format descriptions, and software programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.