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.bat
Since i'm posting here, this obviously doesn't work. Any suggestions on what i can do?
Page 1 of 1
autorunning a .bat file in WinPE 2.0
#2
Posted 20 June 2006 - 01:03 AM
Have you tried with
cmd /C begin.bat.
.bat isn't a true executable format. It needs cmd to handle it
cmd /C begin.bat.
.bat isn't a true executable format. It needs cmd to handle it
#3
Posted 20 June 2006 - 05:06 AM
Try AppPath = %SYSTEMROOT%\SYSTEM32\Begin.bat
That is what works for me.
That is what works for me.
#5
Posted 21 June 2006 - 10:36 AM
#6
Posted 21 June 2006 - 10:38 AM
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
Add the begin.bat file path into the Startnet.bat.
This will execute your begin.bat file
Share this topic:
Page 1 of 1



Help
Back to top










