Jump to content

cmdlines.txt not executed?


Recommended Posts

I've setup a unattended Windows 2000 cd and everything seem fine. Except one thing, cmdlines.txt is not read at all.

Here is where i put the file:

G:\I386\$OEM$\cmdlines.txt

Even if i just do that, it don't work:

[COMMANDS]
"echo hello"
"pause"

Here is a part of my winnt.sif

[Unattended]
UnattendMode = FullUnattended
UnattendSwitch = Yes
OemPreinstall = Yes
OemSkipEula = Yes
FileSystem = *
WaitForReboot = No
TargetPath = "\WINNT"
DriverSigningPolicy = Ignore
NonDriverSigningPolicy = Ignore
Hibernation = No

Anyone run into the same thing?

Thanks!

Link to comment
Share on other sites


Let's not forget the obvious, that if you're instlaling from CD, and booting FROM CD, then $OEM$ needs to be in the root of the CD.

However, you can use CMDLINES.TXT like a command prompt, but they need to be external commands (regedit , applicaiton installs , cmd.exe)

Link to comment
Share on other sites

Well, for the "pause", it was taken from this document (but it's for NT4):

My current cmdlines.txt contain:

[COMMANDS]
"./logon.cmd"
"./ie6sp1.cmd"
"./mdac.cmd"
"./directx9.cmd"
"./dotnet.cmd"
"./wmp.cmd"

So, the problem was cause my $OEM$ is in the i386 dir instead of the root??

Thanks a lot!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...