Objective 2

 Objective 2. Utilizing functions in operating systems for computer hardware and software administration.


22.Disk operating system: Refers to early operating systems that were primarily designed to manage and control disk storage devices such as hard disk drives, floppy disk drives, and later, optical disc drives. DOSes were prevalent during the early days of personal computing, especially in the 1980s and early 1990s.

Some characteristics are:

  1. Command Line Interface (CLI): DOS operated primarily through a text-based command prompt.

  2. Single Tasking: It could run only one program at a time.

  3. File Management: Provided basic file management functionalities with 8.3 file name format.

  4. Limited Memory Management: Constrained by the 640 KB memory limit of conventional memory.

  5. Boot Process: Booted from disk storage devices and loaded the DOS kernel into memory.

  6. Device Drivers: Required device drivers for hardware communication.

  7. Batch Scripting: Supported batch files for automating tasks.

Some utilities are:

  1. File Management: DOS allowed users to create, delete, copy, move, and rename files and directories. Commands like DIR, COPY, DEL, MOVE, REN, and MKDIR (or MD) were commonly used for these tasks.

  2. Disk Management: Users could format disks (FORMAT), check disk integrity (CHKDSK), copy disk contents (DISKCOPY), and manage disk partitions.

  3. Batch Processing: DOS supported batch files, which are sequences of commands saved in a file with a .BAT extension. Batch files allowed for automation of tasks and could be executed by simply running the batch file.

  4. System Configuration: Users could configure system settings such as environment variables (SET), system date and time, device drivers, and memory management using commands like CONFIG.SYS and AUTOEXEC.BAT.


Drivers configuration

Configuring drivers in DOS involved editing the "CONFIG.SYS" and "AUTOEXEC.BAT" files. Device drivers, essential for hardware communication, were loaded in "CONFIG.SYS" using "DEVICE=" or "DEVICEHIGH=" commands. Initialization and environment variables were set in "AUTOEXEC.BAT". Order of loading and troubleshooting conflicts were crucial. Third-party tools offered graphical interfaces for ease of use. Overall, DOS driver configuration required manual file editing, understanding system dependencies, and resolving compatibility issues.

Example of drivers configuration

https://www.youtube.com/watch?v=H3LNmOWZRN8

23.DOS internal commands

DOS internal commands refer to a set of built-in functions and operations that are an integral part of the Disk Operating System (DOS) command processor, typically represented by the COMMAND.COM program. These commands are stored within the operating system itself and do not require separate executable files or external utilities to function.

Some of the main characteristics of the internal commands are:

  1. Built-in Functionality: Internal commands are pre-installed within the DOS operating system, providing essential functions for system management and file manipulation.

  2. Direct Access: They offer direct access to system resources, files, directories, and settings without relying on external programs or drivers.

  3. Fast Execution: Being part of the command processor, internal commands execute quickly since they are already loaded into memory and do not require disk access to run.

  4. Limited Functionality: While powerful for basic system tasks, internal commands often have limited functionality compared to external commands or third-party utilities. They may lack advanced features found in specialized software.

  5. Ease of Use: Internal commands are straightforward to use, typically requiring basic syntax and parameters to perform tasks such as file management, directory navigation, system configuration, and batch processing.


Some of the DOS internal commands syntax and uses are:

  1. DIR: Lists files and directories in the current directory.

  2. CD or CHDIR: Changes the current directory.

  3. COPY: Copies one or more files to another location.

  4. DEL or ERASE: Deletes one or more files.

  5. REN or RENAME: Renames files or directories.

  6. DATE: Displays or sets the system date.

  7. TIME: Displays or sets the system time.

  8. SET: Sets or displays environment variables.

  9. ECHO: Displays messages or turns command echoing on/off.

  10. CLS: Clears the screen.

Video of the syntax and uses

https://www.youtube.com/watch?v=6EQPJ4rS6W0


24.DOS external commands

DOS external commands are separate executable programs or utilities that extend the functionality of the operating system beyond what is provided by internal commands.

Some of the main characteristics are:

  1. Separate Executable Files: External commands are standalone executable files (e.g., *.EXE, *.COM, *.BAT) stored as separate entities on disk.

  2. Extend Functionality: They provide additional capabilities beyond what internal commands offer, allowing users to perform specialized tasks such as disk formatting, file compression, network operations, and advanced system management.

  3. Location Dependency: External commands must be located in directories specified by the system's PATH environment variable for the command processor to locate and execute them. This makes them accessible from any directory without specifying the full path.

  4. Invoke from Command Prompt: External commands are invoked from the command prompt by typing their names followed by any required parameters or options.


Some examples of the DOS external command's syntax and their uses:

  • XCOPY: Extended copy command for copying files and directories with advanced options.
  • FORMAT: Used for formatting disks or drives.
  • NET: Handles networking functions like mapping network drives or managing network connections.
  • EDIT: Provides a more feature-rich text editor compared to the basic internal EDIT command.
  • DEBUG: Low-level debugging tool for examining and modifying memory and files.
  • COMP: Compares the contents of two files byte by byte.
  • TREE: Displays the directory structure in a tree-like format.

https://www.youtube.com/watch?v=16xMZkLk9ys









Comentarios