Performs an installation of or upgrade to Windows XP. If you have hardware that is compatible with Windows XP, you can run winnt at a Windows 3.x or MS-DOS command prompt.


winnt [/s:SourcePath] [/t:TempDrive] [/u:answer file][/udf:ID [,UDB_file]] [/r:folder][/rx:folder][/e:command][/a]


/s: SourcePath   : Specifies the source location of the Windows XP files. The location must be a full path of the form x**:\**[Path] or **\\server\share[\**Path].

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

/u: answer file   : Performs an unattended Setup using an answer file. The answer file provides answers to some or all of the prompts that the end user normally responds to during Setup. If you use /u, you must also use /s.

/udf: ID [ , UDB_file ] : Indicates an identifier (ID) that Setup uses to specify how a Uniqueness Database (UDB) file modifies an answer file (see /u). The UDB overrides values in the answer file, and the identifier determines which values in the UDB file are used. If no UDB_file is specified, Setup prompts you to insert a disk that contains the $Unique$.udb file.

/r: folder   : Specifies an optional folder to be installed. The folder remains after Setup finishes.

/rx: folder   : Specifies an optional folder to be copied. The folder is deleted after Setup finishes.

/e: command   : Specifies a command to be carried out just before the final phase of Setup.

/a   : Enables accessibility options.

/?   : Displays help at the command prompt.

Formatting legend




Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Command shell overview