The information in this article applies to:
SUMMARYThis article describes the switches you can use with the Windows 95 Setup program. MORE INFORMATIONThe following switches can be added to the Setup command. For example, setup /?/? - This switch provides a brief summary of the available Setup switches and the correct command line syntax. /c - This switch causes Setup to not run SMARTDrive. /d - If you do not want Setup to use your existing Windows configuration (such as your current Win.ini and System.ini files), use this switch. /id - If you do not want Setup to check for the minimum disk space required to install Windows 95, use this switch. /it - If you do not want Setup to check for the presence of "dirty" or "deadly" terminate-and-stay-resident programs (TSRs) that are known to cause problems with Windows 95 Setup, use this switch. /ih - This switch causes Setup to run ScanDisk in the foreground. /iq - If you use the /is switch to bypass ScanDisk or ScanDisk fails, Setup checks your drive for cross-linked files. Use the /iq switch to prevent Setup from doing this. /is - This switch causes Setup to not run ScanDisk. /l - Use this switch if you have a Logitech mouse and want it enabled during Setup. You must run Setup from your previous version of MS-DOS or start Windows 95 in MS-DOS mode for these switches to function. /n - This switch causes Setup to run without a mouse. /p - The /p switch causes Setup to pass string(s) directly to Detection Manager (or Sysdetmg.dll). Setup does not interpret the content of the string. The string can contain one or more detection options. -s - Use this switch to use an alternate Setup.inf file. /t:<dir> - This switch lets you to specify where Setup will copy its temporary files. WARNING: Any existing files in this directory will be deleted. /p Detection Switch Option String Defined
a - This switch enables safe detection. It tells each detection module to try safer detection methods. Safer detection methods may not detect devices correctly. b - This switch enables Prompt Before mode. It prompts you before a detection module is called so that you can step through each detection module manually and decide if you want to skip it. c - This switch enables class detection. Class detection is a mechanism for finding hints for a certain class of devices. For example, adapter class detection looks for hints in the Config.sys and System.ini files for CD-ROM drivers. If it does not find any, Setup displays a CD-ROM check box asking if you have a CD-ROM drive. c- - Setup /p c- disables safe class detection. For example, this switch tells Setup to always search on all network adapter cards, sound cards, and CD-ROM drives. d=<name> - This switch detects the listed detection modules only, where <name> is a detection module name or a device class name. e - This switch enables Setup mode detection. The default during Setup is enabled. The default in other cases is disabled. f - This switch enables Clean Registry mode. It forces Detection to clean the root branch of the registry before starting. This switch is ignored when Setup is run in the Windows 95 graphical user interface (GUI). The default is disabled. g=<n> - This switch specifies the verbose level, where <n> is 0 to 3. This switch controls how verbose the built-in progress bar is. At maximum level (3), it shows all the resources of the detected devices along with the progress bar. This switch can help to identify which detection module causes a certain problem. For example, if your mouse stops responding (hangs) during detection but the system continues, there is no way to determine from the log files which module hung the mouse. By turning this option on and constantly moving the mouse during Setup, you can determine which module is running when the mouse hangs. i - This switch tells Setup not to report the existence of a Plug and Play BIOS. It is useful on systems that have a Plug and Play BIOS that is not reported in Machine.inf. Example: setup /p i j - This switch tells Setup to undo the results of the "Setup /p i" switch. This switch should only be used after a machine that required "Setup /p i" has updated their Plug and Play BIOS. l=<n> - This switch specifies the logging level for Detlog.txt, where <n> is 0 to 3. m - This switch enables Mini-windows mode. This is enabled only when Setup is run under MS-DOS. n - This switch enables No Recovery mode. This option can be used to turn off the Windows 95 Setup recovery mechanism (for example, this switch prevents the creation of the Detcrash.log file). o=<traceoutput> - This switch specifies the trace output. The information is written to the Tracelog.txt file in the current directory. p - This switch enables performance logging. It writes performance timing information to the DETLOG.TXT file. r - This switch enables Recovery mode. It causes Detection to use the Detcrash.log file, if found, for recovery. If this switch is not enabled, Detection ignores and deletes Detcrash.log even if it is found. s=<name> - This switch skips the listed detection modules or classes of detection modules, where <name> is a detection module name or a device class name. t=<n> - This switch specifies the trace level, where <n> is 0 to 9. The default is disabled (0). v - This switch enables Verify Only mode. Detection has two stages:
where <res list> is one of four possibilities: Additional query words: eula
Keywords : kbsetup win95 |
Last Reviewed: May 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |