Cmdlines.txt Does Not Recognize Parameters Surrounded by QuotesID: Q167211
|
During an unattended setup, some entries in the Cmdlines.txt file do not execute.
The entries in Cmdlines.txt that are not executing may contain entries that
contain parameters between quotation marks, as in the following example:
Cmdlines.txt
[Commands]
".\at 04:00 /interactive cmd.exe /c "c:\batch\runme.bat"
To resolve this problem, create a batch file containing the same command
line with quotation marks, and run that batch file from the Cmdlines.txt
text file. For the previous example, the resolution would be:
CMDLINES.TXT
[Commands]
".\mybatch.bat"
Mybatch.bat
AT 04:00 /interactive cmd.exe /c "c:\batch\runme.bat"
The Unattend.txt setup script must include "OEMPreinstall=Yes in the
[Unattended] section, to enable the Cmdlines.txt file. This file must also
reside in the $OEM$ directory of your Windows NT distribution share.
For additional information about unattended installations, please see the
following article at the Microsoft Web site:
http://www.microsoft.com/ntworkstation/info/Deployment-guide.htm
Additional query words: prodnt
Keywords : kbsetup ntsetup
Version : WINNT:4.0
Platform : winnt
Issue type : kbprb
Last Reviewed: February 16, 1999