How Can I Create a CFG File?

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

The CFG file extension denotes a configuration file. In the Windows operating system, configuration files are often named "config.cfg" or a similar file name with the ".cfg" file extension. CFG files are text-based files that you can create and view in a text editor. In many cases, Windows installations automatically create these configuration files for applications. To create your own CFG file, use Windows' native text editor Notepad.

Advertisement

Step 1

Click "Start" and "All Programs."

Video of the Day

Step 2

Click the "Accessories" folder to expand the contents, then click "Notepad." Alternatively, right-click on the Windows desktop, click "New" and "Text Document" to create a new text document in Notepad.

Advertisement

Step 3

Type the fields and values in the configuration file. For example, a configuration file may be formatted as:

var0 = low var1 = med var2 = high

Step 4

Click the "File" option on the top navigation bar and click "Save."

Advertisement

Advertisement

Step 5

Type the name of the configuration file, along with the ".cfg" file extension in quotes in the "File Name" input box. For example, type "config.cfg" and include the quotes around the file name and extension in the "File Name" input box.

Step 6

Cllck the "Save" button. The CFG file is created.

Video of the Day

Advertisement

Advertisement