Using winnt and winnt32 switches
The
winnt.exe
and
winnt32.exe
commands support several switches in addition to the temporary drive
option explained in the previous topic. These switches enable you to
specify the source location for the Windows 2000 files, specify an
answer file for unattended installation, specify commands to execute
at completion of Setup, and more. The following is the syntax for
winnt.exe, and Table 1-1
lists the command switches for winnt.exe:
winnt [/s[:sourcepath]] [/t[:tempdrive]] [/u[:answer_file]] [ic:ccc][/udf:id[,UDF_file]] [/r:folder] [/rx:folder] [/e:command] [/a]
Table 1-1. winnt.exe command switches
|
Option |
Function |
|---|---|
|
|
Location of Windows 2000 source files; must be full local or UNC pathname. |
|
|
Location for temporary Setup files and installation partition. |
|
|
Perform unattended Setup using specified answer file; requires
|
|
|
Specify unique ID and use Unique Database File (UDF) to modify answer file for unattended Setup. ID determines which answers in UDF file are used. |
|
|
Create optional folder that remains after installation; specify folder name as folder. |
|
|
Copy folder during Setup but delete after installation. |
|
|
Specify command to be executed after GUI-mode Setup completes. |
|
|
Enable accessibility options. |
The following is the syntax for winnt32.exe, and
Table 1-2 lists the command switches for
winnt32.exe
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access