:: :: - by Nick @ FoolishIT.com [Foolish IT LLC] :: - Official Download: https://download.foolishit.com/BatchFiles/_InitWinPE.cmd.txt :: :: - Used in the "d7 with WinPE" article located here: https://www.foolishit.com/d7/online-manual/setup/d7-with-winpe/ :: :: - This batch is unnecessary when using a WinPE 5.1 boot environment, instructions can be found :: - in the article "Creating a WinPE 5.1 Bootable" here: https://www.foolishit.com/tech-info/creating-a-winpe-5-1-bootable/ :: @echo ONLY RUN THIS BATCH FROM A WINPE CD, otherwise close this window now! @echo Press any key to continue... @pause>nul pushd "%~dp0" for %%_ in (*.dll) do regsvr32 /s %%_ for %%_ in (*.ocx) do regsvr32 /s %%_ d7.exe -offline