GriZly Posted November 17, 2004 Share Posted November 17, 2004 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 More sharing options...
Astalavista Posted November 17, 2004 Share Posted November 17, 2004 pls take a moment to read http://unattended.msfn.orgu will find the solution there. Link to comment Share on other sites More sharing options...
GriZly Posted November 17, 2004 Author Share Posted November 17, 2004 are you saying I must use %systemdrive%\install\batch_file.cmd ?if I'M asking its because I already read that.... Link to comment Share on other sites More sharing options...
tguy Posted November 17, 2004 Share Posted November 17, 2004 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 More sharing options...
Astalavista Posted November 17, 2004 Share Posted November 17, 2004 Link to comment Share on other sites More sharing options...
GriZly Posted November 17, 2004 Author Share Posted November 17, 2004 [Commands]"Command_1""Command_2".."Command_x"Do I have to use exactly this ? With the dots and Command_x after ? Link to comment Share on other sites More sharing options...
brian873 Posted November 17, 2004 Share Posted November 17, 2004 GriZly, paste up your curret one and let us know what you want to use it for.hail hail Link to comment Share on other sites More sharing options...
Alanoll Posted November 17, 2004 Share Posted November 17, 2004 [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 More sharing options...
GriZly Posted November 17, 2004 Author Share Posted November 17, 2004 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" Link to comment Share on other sites More sharing options...
jrzycrim Posted November 17, 2004 Share Posted November 17, 2004 Yes, that's how it should be. Link to comment Share on other sites More sharing options...
TerraFrost Posted December 1, 2004 Share Posted December 1, 2004 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now