How do I create a config sys file?

How do I create a config sys file?

Introduction

In the world of computing, a configuration file, commonly referred to as a "config" or "ini" file, is a plain-text file that contains settings or preferences used by a computer program or operating system. In this article, we will focus on creating a config sys file, specifically for a Windows operating system.

What is a CONFIG.SYS file?

Before we dive into creating a config sys file, it’s essential to understand what it is and its purpose. A CONFIG.SYS file is a text file that contains configurations for a Microsoft DOS system or a legacy operating system. The file specifies settings for hardware, peripherals, and other system-related settings. When a system boots up, the CONFIG.SYS file is executed, which loads the necessary settings and drivers.

Steps to create a config sys file

Here are the steps to create a config sys file:

Step 1: Open Notepad

Open Notepad on your Windows system by searching for it in the Start menu or by typing notepad.exe in the Run dialog box (Windows key + R).

Step 2: Create a new file

Click on the "File" menu and select "New" to create a new, blank file.

Step 3: Save the file with a.sys extension

Save the file with a name and extension of your choice. For example, you can name it "myconfig.sys". Make sure to save it with a .sys extension to indicate that it’s a config sys file.

Step 4: Add config lines

Add config lines to the file using the following syntax:

devicehigh=d: or
device=d:
  • devicehigh specifies the high-density floppy disk drive.
  • device specifies the low-density floppy disk drive.

Step 5: Save the file

Save the file to your desired location.

Sample CONFIG.SYS file

Here’s a sample CONFIG.SYS file:

DEVICEHIGH=d:
DEVICE=d:

What is an AUTOEXEC.BAT file?

An AUTOEXEC.BAT file is a batch file that is executed automatically every time a computer boots up. This file contains commands that perform various tasks, such as loading device drivers, running programs, and configuring system settings.

Differences between CONFIG.SYS and AUTOEXEC.BAT

Here’s a table highlighting the differences between CONFIG.SYS and AUTOEXEC.BAT files:

CONFIG.SYS AUTOEXEC.BAT
Purpose Contains configurations for hardware and system settings Contains batch commands to perform system tasks
Execution Executed during the boot process Executed automatically after boot up
Syntax Uses the "device" and "devicehigh" keywords Uses batch commands, such as "cd" and "run"

Conclusion

Creating a config sys file is a straightforward process that requires a text editor, such as Notepad, and some basic knowledge of system settings and syntax. By following the steps outlined in this article, you can create a config sys file and customize your system settings to your liking.

Your friends have asked us these questions - Check out the answers!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top