UT_Longhorn Posted June 19, 2006 Share Posted June 19, 2006 I'm booting WinPE 2.0 from a DVD right now. In the windows/system32 directory, i've added a file called begin.bat. I'm trying to get begin.bat to autorun after the DVD boots and the default winPE shell is loaded. In winpeshl.ini, I've put the following code:[LaunchApps]begin.batSince i'm posting here, this obviously doesn't work. Any suggestions on what i can do? Link to comment Share on other sites More sharing options...
mats Posted June 20, 2006 Share Posted June 20, 2006 Have you tried with cmd /C begin.bat..bat isn't a true executable format. It needs cmd to handle it Link to comment Share on other sites More sharing options...
likuidkewl Posted June 20, 2006 Share Posted June 20, 2006 Try AppPath = %SYSTEMROOT%\SYSTEM32\Begin.batThat is what works for me. Link to comment Share on other sites More sharing options...
UT_Longhorn Posted June 21, 2006 Author Share Posted June 21, 2006 hmmmmmmm, neither of those worked for me Link to comment Share on other sites More sharing options...
likuidkewl Posted June 21, 2006 Share Posted June 21, 2006 hmmmmmmm, neither of those worked for mePost your begin.bat file.. That may shed some light on it.Also try changing your winpeshl.ini to reflect something simple like cmd.exe or the like to ensure it is not another problem with your build. Link to comment Share on other sites More sharing options...
techquiet Posted June 21, 2006 Share Posted June 21, 2006 Edit the Startnet.bat file in the winpe image.Add the begin.bat file path into the Startnet.bat.This will execute your begin.bat file Link to comment Share on other sites More sharing options...
UT_Longhorn Posted June 21, 2006 Author Share Posted June 21, 2006 thanks techquiet...that worked perfectly! 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