UT_Longhorn Posted June 19, 2006 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?
mats Posted June 20, 2006 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
likuidkewl Posted June 20, 2006 Posted June 20, 2006 Try AppPath = %SYSTEMROOT%\SYSTEM32\Begin.batThat is what works for me.
UT_Longhorn Posted June 21, 2006 Author Posted June 21, 2006 hmmmmmmm, neither of those worked for me
likuidkewl Posted June 21, 2006 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.
techquiet Posted June 21, 2006 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
UT_Longhorn Posted June 21, 2006 Author Posted June 21, 2006 thanks techquiet...that worked perfectly!
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