mcsleazycrisps Posted April 14, 2005 Share Posted April 14, 2005 hi, I've tried searching for answers to this but can't find any.. basically xp setup is ignoring my cmdlines.txt file completely..i've placed it in the <CDROOT>\$OEM$\ folder and it contains:[COMMANDS]"RunOnce.cmd"The file RunOnce.cmd is in the same folder as cmdlines.txt but it's refusing to run it. I've tried testing it by making the .cmd file create folders. but it's not running. Anything obvious I've misseD?Cheers Link to comment Share on other sites More sharing options...
Mike_Wilson Posted April 14, 2005 Share Posted April 14, 2005 put your cmdlines.txt in $OEM$ folder with following text[COMMANDS]"RunOnceEx.cmd"also put your RunOnceEx.cmd in the $OEM$ folder.Im guessing your problem might be that you have RunOnce.cmd? and your file is called RunOnceEx? Link to comment Share on other sites More sharing options...
Yzöwl Posted April 14, 2005 Share Posted April 14, 2005 Suggestionsa spelling mistakecommand syntax incorrectOEMPreinstall=No instead of Yes in winnt.sifPossible things to trytry renaming the extension to .bat it has been known to worktake the cmdlines.txt out of the loop and use the GuiRunOnce section in your winnt.sif instead. Link to comment Share on other sites More sharing options...
Stinger12348 Posted April 14, 2005 Share Posted April 14, 2005 you could always add a pause line in the batch file to see if its executing cmdlines.txt just having a problem with the batch file. Link to comment Share on other sites More sharing options...
mcsleazycrisps Posted April 14, 2005 Author Share Posted April 14, 2005 Thanks for the advice - looks like CMDOW was preventing the batch file from running... Link to comment Share on other sites More sharing options...
durex Posted April 14, 2005 Share Posted April 14, 2005 Are you certain it was actually "preventing" it from running, or was it just not showing the command prompt window while it was running... which is what CMDOW is supposed to do. 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