mf_2 Posted July 2, 2007 Share Posted July 2, 2007 (edited) Hello,I have been trying to create an Unattended DVD for Windows XP Pro to help my employer install a bunch of PCs.Throughout my research, I have read a great deal on this forum and I have found many answers to my many questions on here.However now I seem to be stuck with a problem.We have a final batch file setting up various things. This file is to be used on three different types of PCs, which requires the user to interact with the script. This is done by extensive use of the CHOICE command all over the script. The script works fine if I start it manually. However when I write it into the RunOnce folder of the Windows Registry via the RunOnceEx.cmd file in the DVD's $OEM$-dir, the batch file doesn't execute properly. It gets started and then just displays the first part (everything up until the first CHOICE command) in an endless loop. There is a DELAY command in the script above the CHOICE command, it gets ignored too. Both work fine if the script is started via a double click.Putting a link to the script in the "Startup" folder produces the same error, regardless of how I call the batch file. I tried it with both a simple "batch.cmd" and a more sophisticated "start "" /wait "batch.cmd"".What am I doing wrong??Do you guys have any suggestions?This is the last major bug in my DVD, and it's driving me nuts.Thanks in advance,mf_2 Edited July 2, 2007 by mf_2 Link to comment Share on other sites More sharing options...
IcemanND Posted July 2, 2007 Share Posted July 2, 2007 may be a problem with the batch script as opposed to when/where you are running it from. Can you post the script? Link to comment Share on other sites More sharing options...
mf_2 Posted July 3, 2007 Author Share Posted July 3, 2007 Thanks a lot, that was the problem. It simply couldn't find any of the programs I was calling (including CHOICE.COM). 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