November 17, 200421 yr 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 ?
November 17, 200421 yr pls take a moment to read http://unattended.msfn.orgu will find the solution there.
November 17, 200421 yr Author are you saying I must use %systemdrive%\install\batch_file.cmd ?if I'M asking its because I already read that....
November 17, 200421 yr 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.
November 17, 200421 yr Author [Commands]"Command_1""Command_2".."Command_x"Do I have to use exactly this ? With the dots and Command_x after ?
November 17, 200421 yr GriZly, paste up your curret one and let us know what you want to use it for.hail hail
November 17, 200421 yr [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.
November 17, 200421 yr Author just wanted to be sure because I found the quoted text at MSDN and didn't quite understand what the dots were for so...so I understand the following will work ? ...[Commands]"start.cmd"
December 1, 200421 yr 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)?
Create an account or sign in to comment