Windows 95 Setup Command for MS-DOS

Installing Windows 95 directly from an MS-DOS command prompt was a standard deployment method for new hard drives and operating system upgrades. The process was initiated using the SETUP command, an executable program designed to evaluate the host hardware, launch MS-DOS ScanDisk, and transition the PC into a graphical installation wizard. This article outlines the command syntax, the directory requirements, and the common switches used during installation.

The Setup Command

To run the installation from DOS, the primary command is:

SETUP

Executing SETUP (or SETUP.EXE) starts the Windows 95 installation routine. In a typical scenario where the Windows 95 files reside on an optical disc, the user needed to load MS-DOS with CD-ROM drivers (such as OAKCDROM.SYS and MSCDEX.EXE), navigate to the directory containing the installation source files—commonly D:\WIN95\—and execute the command.

For floppy disk installations, typing A:\SETUP from the command line while Disk 1 was in the drive achieved the same result.

How the Installation Process Executed

Once SETUP was entered:

  1. System Check: The executable performed an initial evaluation of system resources, including conventional and extended memory.
  2. ScanDisk Routine: It automatically launched a character-mode version of ScanDisk to detect disk errors or directory corruptions on the target partition.
  3. Protected-Mode Initialization: After file checks, SETUP loaded a minimal 16-bit protected-mode environment to run the graphical Windows Setup Wizard, moving the installation out of the pure command-line interface.

Useful Command Switches

Administrators and technicians frequently appended command-line switches to SETUP to bypass hardware checks, resolve system freezes, or accelerate installation times:

  • SETUP /IS: Skips the automatic ScanDisk routine before setup begins, commonly used if ScanDisk encountered issues or if the drive had already been verified.
  • SETUP /ID: Bypasses the minimum disk space check.
  • SETUP /IM: Skips the conventional memory check.
  • SETUP /IQ: Skips the scan for cross-linked files.
  • SETUP /IN: Runs the installation without configuring networking modules.
  • SETUP /C: Bypasses the loading of the SMARTDrive disk cache driver.

Combining these switches—such as SETUP /IS /ID—allowed users to bypass multiple pre-installation routines to troubleshoot problematic hardware or streamline repeat installations.