Hello
Since I upgraded to WinPe 3.0 I have not been able to successfully use startnet.cmd to call a batch file on boot up to identify my drive letter. The small DOS like box comes up as usual and you see it runs my batch file and then it immediately reboots WinPe. This process worked fine under WinPE 2.0 and 2.1. Below are variations I have tried in my Startnet.cmd file
startnet.cmd (1)
wpeinit
call mstart.bat
startnet.cmd (2)
wpeinit
mstart.bat
startnet.cmd (3)
wpeinit
@echo off
cls
Goto Begin
:Begin
ECHO FINDING BOOTABLE DRIVE
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WinPE_Boot_Media.txt SET DRIVE=%%i:
%DRIVE%\menu.bat
goto END
:END
Does anyone know why or what is causing WinPe to reboot after I call a batch file or running a script from Startnet.cmd. I am completely stumped ?!?!?!?!?!?!
Thank you