Share via


Winnt.exe Command Syntax

Winnt [ **/E:**command ] [ **/R:**folder_name ] [ **/Rx:**folder_name ] [ **/S:**sourcepath ] [ /T [ **:**tempdrive ]] [ /U [ **:**answer_file ]] [/ **udf:**ID [,UDB_file] [/ A :]

/E: command

Specifies a command to be carried out after the GUI portion of Setup finishes. For example, this option can run Cmdlines.txt, which usually specifies the applications to be installed immediately after Setup completes.

/R: folder_name

Creates a subfolder within the folder that contains the Windows 2000 files. For example, if the source folder contains a Private_drivers folder that has modifications just for your site, you can type /R:private_drivers to copy that folder to your Windows 2000 folder. You can use the /R option multiple times.

/Rx: folder_name

Temporarily creates a subfolder within the folder that contains the Windows 2000 files. For example, if the source folder contains a Private_drivers folder that has modifications just for your site, you can type /Rx:private_drivers to have Setup copy that folder to your Windows 2000 folder and use its files during Setup. Unlike the /R option, folders created by using /Rx are deleted when Setup finishes.

/S: sourcepath

Specifies the source location of the Windows 2000 files. The location must be a full path of the form Drive_letter :\ Path or \\ Server \ Share \ Path . The default is the current folder.

/T: tempdrive

Directs Setup to place temporary files on the specified drive and to install Windows 2000 on that drive. If you do not specify a location, Setup attempts to locate a drive for you.

/U: answer_file

Installs Windows 2000 without using prompts that require user interaction; instead, Setup obtains the information it needs from an answer file that you prepare in advance. For more information about answer files, see Appendix C "Sample Answer Files for Unattended Setup" in this book. Requires /S .

/udf: ID [, UDB_file ]

Indicates an identifier (ID) that Setup uses to specify how a Uniqueness Database File (UDB) modifies an answer file. The .udb file overrides values in the answer file, and the identifier determines which values in the .udb file are used. For example, /udf:Roaming_user,Our_company.udb overrides settings specified for the identifier Roaming_user located in the Our_company.udb file. If you do not specify a .udb file , Setup prompts you to insert a disk that contains the $ Unique $.udb file.

/A

Enables accessibility options.