Jump to content

cmdlines.txt


Recommended Posts

Hi,

I'm a little confused with the cmdlines.txt. What kind of commands can you put in there ? Is it like a batch file ? Can I use the file for every command ?

Is there anything special I should know about it ?

Link to comment
Share on other sites


Here is a sample of my cmdlines.txt

[commands]

"RunOnceEx.cmd"

"C:\WINAPPS\IE6\IE6SETUP.EXE /Q /R:N"

"REGEDIT /S C:\WINAPPS\IE6\IE6.REG"

should give you an idea of what you can do.

These all install at the T-12 stage of setup.

Link to comment
Share on other sites

[Commands]

"Command_1""Command_2".

.

"Command_x"

Do I have to use exactly this ? With the dots and Command_x after ?

the dots are ellipses and the Command_1 and command_x simply show that you can have an infinite number of commands (perhaps).

The commands should be enclosed in quotes, and should actually be commands. But CMDLINES.TXT is NOT A BATCH FILE. It's a VERY limited command interface, and most people call a CMD files so they CAN use all the capabilities of a batch file.

you've been given examples of what it can be used for. Look at them.

Link to comment
Share on other sites

  • 2 weeks later...

the syntax of the commands in cmdlines.txt look no different from the commands in a normal batch file, save for that they have quotes around them. are the quotes necessary?

and regardless of that, could the contents of the batch file just be put in cmdlines.txt, under [Commands] (and with or without quotes)?

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