Jump to content

cmdlines.txt


Recommended Posts

am new to the unattended cds

cant make the cmdlines.txt work

i have this line in my winnt.sif

[GuiRunOnce]
;"%systemdrive%\cmdlines.txt"

and i have the file located in >

$OEM$\$1\cmdlines.txt

so what am doing wrong ??

:huh:

Link to comment
Share on other sites


Cmdlines.txt is placed in: "$OEM$\Cmdlines.txt"

Sample contents of Cmdlines.txt

[COMMANDS]
"RegEdit /s RegTweaks.reg"

Edit:

Setup will look for this file by default at T-12, so do not worry about calling it from anywhere.

;)

Edited by MHz
Link to comment
Share on other sites

i've moved my cmdlines file to the root of the $OEM$ directory, but it didnt seem to work

as i've got an error saying something like the [c:\cmdlines.txt is missing ]

i've also removed the ";" from this line [;"%systemdrive%\cmdlines.txt"]

now am putting the cmdlines.txt back to the "$1" folder and re-installing

will keep u posted, thx

:)

Link to comment
Share on other sites

I can tell you with absolute confidence that Mhz was correct in stating that it goes into $OEM$ and that setup will look for it automatically. Perhaps the contents of your cmdlines.txt file has errors in it and that's why it's not working.

Link to comment
Share on other sites

Your Cmdlines.txt is fine. You just need to add it into the root of $OEM$.

Do not have an entry in Winnt.sif to execute Cmdlines.txt.

Note: Cmdlines.txt will execute at T-12, even without a Winnt.sif file used.

Link to comment
Share on other sites

thx to u guys am now almost 70% closer to what i want :thumbup

my problem was that the 2 .cmd, and .reg where in the folder called $1.

when i moved them to the root of the $oem$ it worked like a charm

thx very very very much guys for the help :)

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...